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

paging not woring when EnableVirtualization is true

Hello,


I have to enableVirtiualization because i want to use "ScrollIntoViewAsync" to make the selected line visible

But paging is not working anymore. when you go to the second page. It still shows the first page.

And if you want to position on a line in the second page GetRowIndexByPrimaryKeyAsync gives always -1

See my example

Pos1048 works fine if you are on the first page

Pos1148 is not working

Can you help please


Is there a possibility to use ScrollIntoViewAsync without enableVirtualization?


Thanks

Chris Vandewiele



Attachment: BlazorAppPosition_3186bd20.zip

2 Replies 1 reply marked as answer

NP Naveen Palanivel Syncfusion Team March 22, 2023 02:59 AM UTC


Hi Chris,


We regret to inform you that Paging and Virtualization cannot be enabled on the same Grid. We'd also like to point out that we don't currently support ScrollIntoViewAsync without enableVirtualization. When you enable paging only, please share your requirements, such as whether you want to select the record in the second page programmatically or explain more about your requirements.


Please let us know if you have any concerns.


Regards,

Naveen Palanivel



CV Chris Vandewiele March 27, 2023 12:42 PM UTC

Solved

Scroll.js solved my problem


thanks

Chris Vandewiele


Marked as answer
Loader.
Live Chat Icon For mobile
Up arrow icon