jQWidgets Forums
jQuery UI Widgets › Forums › TreeGrid › On Scroll Event in TreeTable
Tagged: angular treegrid, angular2 treegrid, bootstrap treegrid, browser crash, Expansion, javascript treegrid, jquery treegrid, jqwidgets treegrid, jqxTreeGrid, large data set, onscroll, treetable
This topic contains 5 replies, has 2 voices, and was last updated by Hristo 8 years, 6 months ago.
-
Author
-
Hi,
I have a large data set which I need to show in a single page in treetable.
A parent node can have as much as 10000 child nodes. Expanding this parent node is causing the browser to crash.
Pagination is not an option in our use case.
Can you let us know if there is a way to support onScroll event so that whenever scroll happens data can be fetched?I can see that there are features like deferred scrolling and virtual scrolling supported in jqxgrid.Is there such a support in jqstreegrid also?
If not, Is it possible such kind of a behavior?Hello VaNKiN09,
I would like to suggest you this example, as a workaround:
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtreegrid/javascript-tree-grid-load-on-demand.htm?lightAlso, another option is to use the jqxGrid. Here should create some suitable workaround to achieve the desired scenario.
Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHi Hristo,
I am already using load-on-demand via virtual mode.
I am facing a problem when a particular node has 10000 child nodes which is possible in our use case.
In this case, when I expand and 10000 nodes are returned, the UI crashes.(Table with 6/7 columns)So it would be better if I would be able to render data on scroll event.
Can you provide me any suitable workarounds,if available?Regards,
VaNKiN09Hello VaNKiN09,
Unfortunately, it is not possible in jqxTreeGrid. Like I mentioned before you could advantage of jqxGrid – Virtual Scrolling.
Also, I would like to recommend you to think about bigger page size –pageSizeOptions: ['2', '3', '4', '10', '50', '100'],
if this is possible on some way.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comHi Hristo,
I have a hierarchy based structure so I am using a jqxtreegrid.
Virtual Scrolling support available only in jqxgrid. Or is it supported in jqxTreeGrid also?Hello VaNKiN09,
Unfortunately, jqxTreeGrid do not support “virtualscrolling”.
Those are all options that we could provide you.
Thank you for your understanding.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.