Forum
I have problems with refresh of a treegrid...
When i click the refresh button the data gets reloaded but it leaves the tree as it is and add the first node (my root node) again. You can see the pictures:
Before clicking on refresh:
After clicking on the refresh button
Is there something i have to implement in the php side to handle the refreshGrid event?
10:21
Moderators
30/10/2007
Hello,
There is a bug in grid.treegrid.js (3.4.2 version)
Open this file and find
this.treeANode = 0; (around line 320)
Replace with
this.p.treeANode = 0;
Thank you
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
With this modification i have another problem...
When the page load the only row visible is ID 1 - Root
if I click on it the treegrid load the first level under root but Root itself disappear...
See the image...after the click on the Root Node
If I click Refresh when the treegrid is open the initial status is reloaded (Only Root node visible)... is this the way it is intended to work?
If I click refresh I go back to the initial status? The entire tree collapsed?
Is there a way to do a refresh and leave the current status of opened branches?
11:00
Moderators
30/10/2007
Hello,
Sorry for this post. I should make some tests before say that this will correct the issue. This will not help, moreover it will break other things. The correction is in base grid and this line should be commented. After some days I will publish another bug fix. Thank you.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
11:34
Moderators
30/10/2007
Hello,
Permnently you can try
setTimeout(function(){this.p.treeANode = 0;},500);
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
33 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