Forum
11:37
23/07/2010
Hello,
My tree is not closed !!!
Here is the return the first time :
{"rows":[{"cell":["CES ",30479.91,"00410459@2009@000000000000000@000000000000000@000000000000002@CES",0.0,0.0,false,false],"id":0},{"cell":["DAV ",35.98,"00410459@2009@000000000000001@000000000000000@000000000000002@DAV",0.0,0.0,false,false],"id":1},{"cell":["DDG ",1308.21,"00410459@2009@000000000000002@000000000000000@000000000000002@DDG",0.0,0.0,false,false],"id":2}],"page":"1","records":2,"total":"1"}
and the second when i click on the line
{"rows":[{"cell":[" ",17.99,"00410459@2009@000000000000003@000000000000001@000000000000004@",1.0,1.0,true,false],"id":3},{"cell":[" ",17.99,"00410459@2009@000000000000004@000000000000001@000000000000004@",1.0,1.0,true,false],"id":4}],"page":"1","records":2,"total":"1"}
The expand is ok but when i click again for close that don't close ????
$("#listBase").jqGrid({
datatype: "json",
mtype: 'GET',
height: 250,
url: "<html:rewrite forward='detail' />",
postData:{action:"ajax", cleDB:cleDB},
width: 600,
colNames:[
"<bean:message key='baws.declarant.compteur'/>",
"<bean:message key='baws.declarant.montant'/>",
"cleDB"
],
colModel:[
{name:'compteur',index:'compteur', width:180, sortable:false, resizable:false},
{name:'montant',index:'montant', width:180, align:'right', sortable:false, resizable:false},
{name:'cleDB',index:'cleDB', hidden:false, sortable:false, resizable:true, key:true}
],
treeGrid: true,
treeGridModel: 'adjacency',
ExpandColumn : 'compteur',
ExpandColClick: false,
scrollOffset: 0,
treeIcons:{
plus:'ui-icon-circlesmall-plus',
minus:'ui-icon-circlesmall-minus',
leaf:'ui-icon-radio-off'
}
});
JQGRID version 3.6.5 on IE6.
Regards.
Most Users Ever Online: 715
Currently Online:
40 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