jQWidgets Forums

jQuery UI Widgets Forums Grid Problem with virtual loading

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Problem with virtual loading #108166

    ajcs
    Participant

    I have a problem with the virtual mode of the grid. I have made an example. When scrolling down a page it does not draw the second page correctly:
    Example

    I also have secondary questions that I have put as comments in the code:
    1. Why is the data source url+datatype needed when I am doing the data fetching myself. If you leave them out it does not call loadServerData.
    2. Why is rendergridrows needed when it is already calling the data adapter again to load the data.

    Problem with virtual loading #108172

    ajcs
    Participant

    I have fixed the main problem with the page draw. I did not understand to start the returned array indexing at the startindex
    Fixed

    But I would still like to know the answer to the questions above – thanks.

    Problem with virtual loading #108219

    Hristo
    Participant

    Hello ajcs,

    The rendergridrows callback, it returns an array of records and if you need to update the records.
    I would like to suggest you look at this forum topic.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.