Pager Records Label displays incorrect row count after changing Page Size

Not Answered This post has 0 verified answers | 1 Reply | 3 Followers Thread's RSS feed.

cindylaramie
Points 115
Replied On: Tue, Aug 22 2017 3:46 PM Reply

I have an iggrid with 21 records in it.  The page size is initialized to 10 records.  It displays 10 records in the grid and the Pager Records Label says "1 - 10 of 21 records".  The user changes the page size to 50 records.  The grid displays all 21 records but the Pager Records Label doesn't get updated - it still shows "1 - 10 of 21 records" instead of "1 - 21 of 21 records.".  However if we had 169 records with the page size of 10 and we change the page size to 100 records, it updates the Pager Records Label correctly.  It only appears to happen when the page size is changed so that the total record count < page size. 

  • Post Points: 20

All Replies

[Infragistics] Vasya
Points 16,505
Infragistics Employee
Replied On: Wed, Aug 23 2017 7:48 AM Reply

Hello cindylaramie,

Thank you for posting in our community.

I tried reproducing this behavior on my side. I crated an igGrid with 9 records. Initially the pageSize is set to 4 (less than the records count). In this case what is displayed in the page count label is: "1-4 of 9 records". Afterwards, I am changing the page size to 20(greater than the records count) and the page count label is correctly updated to show "1-9 of 9 records". I am using latest available version of Ignite UI, which currently is 17.1.20171.1012.

Attached you will find the sample that I used to test this. Please run it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me for further investigation.

Please feel free to contact me if you have any additional questions regarding this matter.

Regards,

Vasya Kacheshmarova,
Developer Support Engineer,
Infragistics

  • Post Points: 5
Page 1 of 1 (2 items) | RSS