Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Problem collapse with data JSON
23/07/2010
11:37
Avatar
emmanuro06
Member
Members
Forum Posts: 3
Member Since:
23/07/2010
sp_UserOfflineSmall Offline

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.

26/07/2010
16:34
Avatar
Richard
New Member
Members
Forum Posts: 1
Member Since:
26/07/2010
sp_UserOfflineSmall Offline

I have the same issue and i can't find a solution.

30/07/2010
07:45
Avatar
ivanchain
Member
Members
Forum Posts: 55
Member Since:
11/03/2010
sp_UserOfflineSmall Offline

same problem with XML data.

03/08/2010
19:53
Avatar
niclarcipretti
Member
Members
Forum Posts: 4
Member Since:
02/08/2010
sp_UserOfflineSmall Offline

Hi Ivan,

This is not a treegrid problem. Always you send to the treegrid a JSON or a XML data with sintax errors, parent node errors or left - right errors, the treegrid cannot renderize properly. So, double check the data you are returning to the grid 😉

Regards,

Nicolas

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information