We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Set the Current Page?

I have a grid with paging.

I want to programmatically set the page to page 1 no matter what page it's on based on criteria in code.

Is that possible?


2 Replies

KA Keith A Price December 15, 2022 12:58 AM UTC

I did some further searching and found GoToPage, which is great!

But I noticed the paging section is leaving the original page number outlined, which is confusing for the users.

Here's what it looks like after Grid.GoToPage(1):


https://www.screencast.com/t/mly4dUFFGVn


Is there a way to clear that?



NP Naveen Palanivel Syncfusion Team December 18, 2022 09:15 AM UTC

Hi keith,


Thanks for contacting Syncfusion support.


Based on your query , we made simple sample with GoToPageAsync in latest version(20.4.0.61). but unfortunately reported issue does not occurs. We attached the sample in this ticket.


If the reported issue still reproduced then kindly share the below details to validate further at our end.


  1. Share us entire Grid code snippet along with model class.
  2. Share us the video demonstration of the issue in provided sample.
  3. If possible share us an simple issue reproduceable sample or try to modify the above mentioned sample.


The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible



Regards,

Naveen Palanivel


Attachment: BlazorApp1612_78d57529.zip

Loader.
Up arrow icon