[web2py] Re: Populating jqGrid Tree with JSON

2013-03-25 Thread Willoughby
Do you get any errors in the console? That's the first place I usually look... On Sunday, March 24, 2013 8:42:45 PM UTC-4, Nate wrote: > > Hi > > I have a controller sending JSON to my view. I cannot get the data into > the TreeGrid. The Json is coming down correctly (I placed it manually and

[web2py] Re: Populating jqGrid Tree with JSON

2013-03-25 Thread Nate
Nothing in the console. Firebug reports No Javascript on this pageIf tags have a "type" attribute, it should equal "text/javascript" or "application/javascript". Also scripts must be parsable (syntactically correct). On Monday, March 25, 2013 11:15:31 PM UTC+11, Willoughby wrote: > > Do you g

[web2py] Re: Populating jqGrid Tree with JSON

2013-03-26 Thread Derek
Where would one get this jqGrid Tree, and can you post a sample JSON dataset that this is supposed to work with? On Monday, March 25, 2013 3:51:10 PM UTC-7, Nate wrote: > > Nothing in the console. Firebug reports > > No Javascript on this pageIf tags have a "type" attribute, it > should equal "

[web2py] Re: Populating jqGrid Tree with JSON

2013-03-27 Thread Willoughby
Here's the grid home: http://www.trirand.com/blog/ On Tuesday, March 26, 2013 1:38:00 PM UTC-4, Derek wrote: > > Where would one get this jqGrid Tree, and can you post a sample JSON > dataset that this is supposed to work with? > > On Monday, March 25, 2013 3:51:10 PM UTC-7, Nate wrote: >> >> No

[web2py] Re: Populating jqGrid Tree with JSON

2013-03-27 Thread Willoughby
Sorry if this is a repost - Google Groups is giving me fits I'm no expert, and my experience is limited to very old versions of both web2py and jqGrid. BUT in my setup, the grid block does a call to get data to populate the grid. I don't see a call in your grid block, like this snippet: (agai

[web2py] Re: Populating jqGrid Tree with JSON

2013-03-27 Thread Willoughby
Oops - completely missed the 'no javascript' part. It would appear it's not loading your jquery/jqgrid scripts. Are you loading them in layout.html? See this: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:how_to_install On Monday, March 25, 2013 6:51:10 PM UTC-4, Nate wrote: > > Nothing in

[web2py] Re: Populating jqGrid Tree with JSON

2013-03-28 Thread Nate
Thanks for all the input. I really read the docs. There were heaps of mistakes in my code. Now solved and for what its\worth I append the working code. Once again Thanks guys! VIEW {{extend 'layout.html'}} jQuery(document).ready(function(){ $('#treeGrid').jqGrid({ url: "{{=URL(r=reques