Skip to content

Igx-grid Pagination

New Discussion
Vaishnavi Torvi
Vaishnavi Torvi asked on Nov 19, 2020 3:55 PM

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!

Sign In to post a reply

Replies

  • 0
    Monika Kirkova
    Monika Kirkova answered on Nov 19, 2020 3:55 PM

    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

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Vaishnavi Torvi
Favorites
0
Replies
1
Created On
Nov 19, 2020
Last Post
5 years, 8 months ago

Suggested Discussions

Tags

Created by

Created on

Nov 19, 2020 3:55 PM

Last activity on

Nov 19, 2020 3:55 PM