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
145
Igx-grid Pagination
posted

I am using Angular 6 and trying to implement Igx-grid. I want to know how I can add Client-side pagination for number and also scroll pagination?

Meaning, if I click on Page 2 then it should go to the backend & get the data.

Please provide a sample so that it will be helpful for me.

Thanks in Advance!

  • 1320
    Offline posted

    Hello Vaishnavi,

    After investigating this further, I determined that your requirement could be achieved by defining a remotePaging service containing a method “getData(index?: number, perPage?: number)”. Also it is necessary to subscribe to onPagingDone or perPageChange events in order to fetch the data from your remote service, it depends on the use case which event will be used.

    More information regarding implementing remote paging in igx-grid could be found in the following topic of our documentation.

    The following sample, demonstrates the described behavior. Please test it on your side and let me know if you need any further information regarding this matter.

    Please keep in mind that IgniteUI for Angular version 6 is considered retired and it is no longer eligible for Developer Support Services.

    Regards,
    Monika Kirkova,
    Infragistics