|
Title: Virtual Scrolling for TreeGrid Post by: jumple on May 22, 2014, 12:35:18 PM Is there an implementation for Virtual Scrolling on TreeGrid similar to DataGrid?
Title: Re: Virtual Scrolling for TreeGrid Post by: jarry on May 22, 2014, 05:02:33 PM No virtual scrollview exists for the treegrid but you can achieve a dynamic loading treegrid that helps to load rows from server in parts and avoid long waits to load huge data. For more information please visit http://www.jeasyui.com/tutorial/tree/treegrid3.php.
Title: Re: Virtual Scrolling for TreeGrid Post by: jumple on May 23, 2014, 08:45:09 AM The problem with this is that even with dynamic loading after loading several nodes with hundreds of records in them - the page will become slow as dom nodes will keep growing - i have a dataset with 10 or more parent nodes with 300-400 records inside each - so after expanding several nodes the resulting treegrid will have to hold thousands of records and the page will become slow even if i load children dynamically...
Is there any suggestion to overcome this? Title: Re: Virtual Scrolling for TreeGrid Post by: creazyboy on July 03, 2014, 08:03:00 PM Hi, I also have this problem. Does this problem solved?
Title: Re: Virtual Scrolling for TreeGrid Post by: jumple on July 04, 2014, 12:00:32 PM Hi, I also have this problem. Does this problem solved? Doesn't seem that way.... looks like a show-stopper for me Title: Re: Virtual Scrolling for TreeGrid Post by: jarry on July 04, 2014, 07:23:43 PM You can try some ways as described below to improve some performance.
1. Use pagination, this may be the most popular way to solve this issue. 2. Set 'autoRowHeight:false,rownumbers:false,frozenColumns:null,nowrap:true' properties for a treegrid can increment some performance. 3. To load large data at a time, you also can override the treegrid view. In this solution, the '.html()' is replaced as 'innerHTML=...', this will improve loading performance. Please refer to the attached example 'test.html', it load more than 3 thousands quickly. Of course, the loading performance will decrease with more and more records. You may need to find out other solution to prevent from loading too large data in a time regarding your business logic. Title: Re: Virtual Scrolling for TreeGrid Post by: Bruce Lee on December 18, 2014, 05:53:41 PM Hi, I also have this problem. Does this problem solved?thank you
|