jQWidgets Forums

jQuery UI Widgets Forums Grid paging without cache.

This topic contains 2 replies, has 2 voices, and was last updated by  imbaro 12 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • paging without cache. #17254

    imbaro
    Member

    hi.
    I am working with server paging with no cache.
    the page size is 100.
    when i in the renderGridRows i always set new 100 rows(insted of the previous rows)

    i have noticed that the grid works, that in the second page, it showes the rown at location 101-200.
    in the third page the 201-300 rows.

    i want to work in a none cache so i dont want to add the rows to the data adapter,
    but to replace all the rows.

    how can i do that?

    thanks, ofer

    paging without cache. #17260

    Peter Stoev
    Keymaster

    Hi imbaro,

    In the “rendergridrows” you pass to the Grid the rows to be rendered. That’s how it works the Grid. That behavior cannot be changed.

    Best Regards,
    Peter Stoev

    jQwidgets Team
    http://www.jqwidgets.com

    paging without cache. #17265

    imbaro
    Member

    I think you didnt understand me.
    the page size is 100.

    in every page i want to return only 100 rows.

    the situation now is that for the second page i need to return 200 rows, so it shows the 101-200 rows.

    in the third page i need to return 300 rows, so it shows the 201-300 rows.

    i don’t want to work like this, i want to return only 100 rows for each page.

    what do i need to do?

    thanks, ofer.

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

You must be logged in to reply to this topic.