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
40
igniteUI grid pagination show all records
posted

Hi,

In the grid pagination drop down, I would like to display a "ALL" option to show all the records. Is that doable?

I am using ver 15.2 at the moment.

Thanks,

Hanxiong

Parents
No Data
Reply
  • 15320
    Offline posted

    Hello Hanxiong,

    In order to show all records, I would suggest you to modify the pageSizeList property, so that it shows a predefined page size list with the desired page sizes, for instance:

    $(".selector").igGrid({

        features : [
            {
                name : "Paging",
                pageSizeList : [10, 20, 30]
            }
        ]
    });

    It will show the number of all records, instead of text. But if you want to show the text "ALL" in place of the number, this could not be achieved using the igGridPaging API, the dropdown editor itself should be modified if it's possible.

    Please let me know if this approach works for you or you need further assistance regarding this matter.

    Regards,

    Tsanna

Children