Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Custom Paging
posted

How to set custom paging with more records ?

I have 1lac records in my table. I want to display 1Lac records in my grid with custom paging.  Can anyone tell me how is it possible and what is the code for it?

  • 24671
    posted

    Hi,

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

    It depends what you are referring to by "custom paging". By the way below I read “1lac”. Not sure what this is supposed to mean? maybe 100 000 ?

     

    In general if youwant true custom paging, in the sense of a PhoneBook-style paging, such as A  / B / C / D for page numbers, you would need to intercept pagerRendering, cancel it, and render their own pager, based on the information in the client-side data source object.

    If you would prefer quick pages or don’t want to show all page indices to save space, this is already implemented. There are several widget options related to reducing the page numbers area. For example if you set pageCountLimit to some value (10 by default), if the number of  pages exceed 10, they will be rendered in a combo control, which already supports lazy loading for performance. Another thing is setting the visiblePageCount to some  value ( 5 by default), this will give you always a fixed number of page “links”, and to navigate to the rest, end users will use the  prev/next/first/last buttons.

    Let me know if you have any questions.

    Thank you,

    Angel