jQWidgets Forums

jQuery UI Widgets Forums Angular Angular jqxGrid scroll load more data

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 6 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • reven
    Participant

    I need the ability to load say 100 rows in the grid. when the user scrolls to the bottom, load another 100 rows and append that to the end.

    I do not know how many rows there are in the dataset before hand. As this could change as its effectively scroll through a live dataset with new entries being added continuously.

    I get the next lot of data based on a property of the last item in the list.

    Is there a way to achieve this? Ive looked at
    https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/virtualscrolling.htm?arctic

    but that doesnt do what I want, that lets you scroll to any place and it then asks for start + endindex. since i need to have an idenifier from the last item, giving a start/end index doesnt help.


    Hristo
    Participant

    Hello reven,

    We have a similar discussion that looks like you continue here.
    It will be better if there are no duplicated topics.
    You could try one of the mentioned suggestions to change the totalrecords.
    Also, I would like to ask you why you do not use the default behavior of the virtual scrolling?
    The data there is loaded on demand, if you have the data from one database then it should be possible to get all records in it.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.