jQuery UI Widgets Forums Grid Grid Pager – "All" option

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid Pager – "All" option #122499

    priyamsharma2704
    Participant

    I have a grid with pagesizeoptions: [’10’, ’20’, ’30’, ’40’, ’50’]. I want to add another option here “All” after ’50’. On clicking on “All”, it will show all the rows in the grid. May I know how can I achieve that? Thanks in advance.

    Grid Pager – "All" option #122509

    Hi,

    There is a pagerrenderer property of the grid, which accepts a function. The function should return an element for the pager.
    You can see here how it works: http://jsfiddle.net/3tvx78u4/1/
    You can initialize a dropdown with the desired options and change the grid’s page size upon dropdown selection.

    Should you need additional help, let us know!

    Best regards,
    Svetoslav Borislavov

    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.