jQWidgets Forums

jQuery UI Widgets Forums TreeGrid Browser crashes with huge data

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 9 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Browser crashes with huge data #78197

    vankin09
    Participant

    Hi,

    I have a treegrid with virtualMode. On expanding a node, a call is made to server to fetch the required data.
    I have noticed that when the data size is huge (10000), the browser crashes at the following statement :

    callback({
    	records : objects
    });

    Please let me know if there is a workaround which I can.

    Regards,
    Rajesh

    Browser crashes with huge data #78199

    Peter Stoev
    Keymaster

    Hi Rajesh,

    If you load 10 000 records when you expand a records, then you should expect that it would take time while the data is loaded. Also, for large data sets, turn on paging.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Browser crashes with huge data #78201

    vankin09
    Participant

    Hi Peter,

    I don’t mind the time, but the browser itself crashes.
    The load on the browser becomes too much.
    Our requires us to show a hierarchy in a single page, so that the user knows the hierarchy he’s operating with.

    Is there a way to dynamically load the objects only on scroll action or some kind of lazy loading, such that I won’t have to load all the 10000 records at one shot. ?
    Anyways the user will be able to see a max of 20-50 records at any single point of time(without scrolling).

    Regards,
    Rajesh

    Browser crashes with huge data #78205

    Peter Stoev
    Keymaster

    Hi Rajesh,

    jqxTreeGrid supports lazy loading which is demonstrated in several demos on our jqxTreeGrid Demos page. Example with more than 10 000 records: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxtreegrid/javascript-tree-grid-virtual-mode.htm?arctic. The jQuery TreeGrid widget loads the data in less than 1 second. I would suggest you to follow that approach in your scenario.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.