winform Radgrid paging not updated after apply filters through code

2 Answers 87 Views
Miscellaneous
kshitij
Top achievements
Rank 1
kshitij asked on 23 Jun 2021, 05:29 AM

I am using paging with winform radgridview. Filtering works fine but after filtering the page numbers remain the same

After applying filter it is still page 1 of 306

Is there a way to update page nos after I apply filter programmatically? And also is there a way to show total row count in pager bar?

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 Jun 2021, 12:53 PM

Hi, Kshitij,

Following the provided information, I have tested the filtering behavior in RadGridView when paging is enabled. It seems to work as expected on my end. Please have a look at the attached gif file. Am I missing something? Could you please specify the exact steps how to reproduce the problem?

Off topic, could you please confirm whether you are using the Telerik Ui for WinForms suite? In case you are using another Telerik product, it would be greatly appreciated to specify which one. Thus, the appropriate support engineers would gladly assist you. Thank you in advance for your cooperation.

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

kshitij
Top achievements
Rank 1
commented on 25 Jun 2021, 01:25 PM | edited

Thanks for your response. One thing that I forgot to mention is that i am using hierarchical grid (with parent and child bound to separate tables with a common field and programmatic filtering), filtering works fine and i am hiding parent rows wherever it has no child and hence for grid there still will be 100 rows but those are hidden from ui. So if i filter and 10 rows are visible now what i want is that pager also be in sync with that. Can you help me achieve that?
0
Nadya | Tech Support Engineer
Telerik team
answered on 29 Jun 2021, 12:27 PM

Hello, Kshitij,

Based on the information provided so far I have tested RadGridView with set up hierarchy and paging enabled. However, I am still not able to reproduce the problem. The filtered results are synced with the pages showing at the bottom of the grid. Please take a look at the attached gif file that shows the result on my end. This is why I would kindly ask you to specify the exact steps how to reproduce the issue that you are facing. Thus, we could be able to assist you further.

I am looking forward to your reply.

Regards,
Nadya
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Miscellaneous
Asked by
kshitij
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Nadya | Tech Support Engineer
Telerik team
Share this question
or