Forum
05:47
15/03/2013
After following the sample at http://goo.gl/Im5Fll and converting it from PHP to JSP, I'm at a roadblock: the data isn't displayed in the grid.
The code is below, and the data loaded is below that.
Thanks for any assist,
DW.
$('#tree').jqGrid({
url:'ProjectTemplates_Data.jsp',
datatype:'xml',
treeGridModel:'adjacency',
mtype:'POST',
colNames:['id','Task Name'],
colModel:[
{name:'intTaskID',index:'intTaskID', width:1,hidden:true,key:true,editable:true},
{name:'txtTaskName',index:'txtTaskName', width:180, editable:true}
],
height:'auto',
treeGrid:true
});
<?xml version='1.0' encoding='utf-8'?>
<rows><page>1</page><total>1</total><records>1</records>
<row><cell>1</cell><cell>Show systemmm77</cell><cell>0</cell><cell><![CDATA[NULL]]></cell><cell>false</cell><cell>false</cell></row>
<row><cell>2</cell><cell>asd</cell><cell>1</cell><cell><![CDATA[1]]></cell><cell>false</cell><cell>false</cell></row>
</rows>
Most Users Ever Online: 715
Currently Online:
67 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66