Forum
16:35
I am using jqGrid 3.6.2 with TreeGrid.
It loads well when record number is < 200.
If I have around 400 - FireFoxs tells me that script is handing and needs to be stopped.
Reading that there is gridview option for regular grid to speed up, I still hope this will be supported for treegrid too.
Will it? If no, I'd be greatful to hear any solutions or hits on how to speed up the jqGrid with TreeGrid.
P.S.
Btw, pager would help us divide datasets into smaller chuncks, but documentation says "Pager functionality currently disabled for treeGrid" . The only solution I can think of is to somehow emulate page functionality outside of jqgrid.
12:02
Moderators
30/10/2007
Hello Alex,
This is true. Using large data in tree grid currently is not recommended.
We work on this and hope to resolve the problem.
Also I recommend you to use autoloading tree nodes - i.e first load a minilal nodes (only roots) and then when the user click on some node the data will be loaded from the server. Using this approach pager is not needed. Also pagging with tree nodes is a little bit difficult, since we can have a lot of situations which should be consider.
Best 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:41
09/02/2010
t loads well when record number is < 200.
If I have around 400 – FireFoxs tells me that script is handing and needs to be stopped.
Reading that there is gridview option for regular grid to speed up, I still hope this will be supported for treegrid too.
Will it? If no, I'd be greatful to hear any solutions or hits on how to speed up the jqGrid with TreeGrid.
-------------------------------------------------
11:41
09/02/2010
t loads well when record number is < 200.
If I have around 400 – FireFoxs tells me that script is handing and needs to be stopped.
Reading that there is gridview option for regular grid to speed up, I still hope this will be supported for treegrid too.
Will it? If no, I'd be greatful to hear any solutions or hits on how to speed up the jqGrid with TreeGrid.
-------------------------------------------------
15:13
Moderators
30/10/2007
Hello,
Will see what I can do.
Best 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.
16:36
04/03/2011
Hello Tony,
I have the same request of a treegrid example with autoloading tree nodes.
I am trying to do something like this.
- First I load the adjacency grid with the data from an 'url' and 'postData' returned on 'serializeGridData' event.
- OnSelectRow i change with 'setGridParam' the 'url' and the 'postData' and then trigger("reloadGrid")
When I click on the row, the data from the new url overrides the data from the old url so the parent node disapeares.
The order of events is OnSelectRow, then SerializeGridData.
When I click on the text besides the plus icon, the order of events is SerializeGridData then OnSelectRow then loadError.
When I click again on the text besides the plus icon, the order becomes OnSelectRow then SerializeGridData and the childs apear normaly and the parent remains there.
What can I do to get rid of this multi-behaviour?
Can a event like 'subGridRowExpanded' be added to the treeGrid or something similar?
We really need an example of autoloading tree nodes so PLEASE HELP
All the best,
Alex
18:32
04/03/2011
tony said:
Hello,
Will see what I can do.
Best Regards
Tony
Hello Tony,
I have the same request of a treegrid example with autoloading tree nodes.
I am trying to do something like this.
- First I load the adjacency grid with the data from an 'url' and 'postData' returned on 'serializeGridData' event.
- OnSelectRow i change with 'setGridParam' the 'url' and the 'postData' and then trigger("reloadGrid")
When I click on the row, the data from the new url overrides the data from the old url so the parent node disapeares.
The order of events is OnSelectRow, then SerializeGridData.
When I click on the text besides the plus icon, the order of events is SerializeGridData then OnSelectRow then loadError.
When I click again on the text besides the plus icon, the order becomes OnSelectRow then SerializeGridData and the childs apear normaly and the parent remains there.
What can I do to get rid of this multi-behaviour?
Can a event like 'subGridRowExpanded' be added to the treeGrid or something similar?
We really need an example of autoloading tree nodes so PLEASE HELP
All the best,
Alex
Most Users Ever Online: 715
Currently Online:
50 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