jQuery UI Widgets Forums TreeGrid On Scroll Event in TreeTable

This topic contains 5 replies, has 2 voices, and was last updated by  Hristo 7 years, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • On Scroll Event in TreeTable #87926

    vankin09
    Participant

    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?

    On Scroll Event in TreeTable #87932

    Hristo
    Participant

    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?light

    Also, another option is to use the jqxGrid. Here should create some suitable workaround to achieve the desired scenario.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    On Scroll Event in TreeTable #87933

    vankin09
    Participant

    Hi 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,
    VaNKiN09

    On Scroll Event in TreeTable #88012

    Hristo
    Participant

    Hello 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 Hristov

    jQWidgets team
    http://www.jqwidgets.com

    • This reply was modified 7 years, 4 months ago by  Hristo.
    On Scroll Event in TreeTable #88065

    vankin09
    Participant

    Hi 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?

    On Scroll Event in TreeTable #88178

    Hristo
    Participant

    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 Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.