SelectRowAsync not working with paging

I have a grid with paging. Let's say it's set to 50 rows per page.

If I'm on page 1 and run SelectRowAsync(25), it works great.

if I'm on page 2 and run SelectRowAsync(75), nothing gets selected.

If I'm on page 2 and run SelectRowAsync(25), the 25h row ON PAGE 2 gets selected.

How can I set a row that's not on the current page?

I need this for both editing and adding a record with an external form. After the edit or edit, I'm successfully updating the grid's datasource and I am successfully grabbing the correct index. I need the record I just edited or added selected. Again, it works great if I'm on page 1 and the index is within that page.

How do I do select a row that's not on the current page?



3 Replies

MS Monisha Saravanan Syncfusion Team March 6, 2023 12:52 PM UTC

Hi Keith,


Greetings from Syncfusion.


We have validated your query and currently we are able to select the records using SelectRow/SelectRows method in current page(visible rows in the current page). We have already considered this requirement “Need to provide support for select records in another pages using SelectRows methodan usability improvement feature and logged the improvement report for the same. This feature will included in any of our upcoming release. Until then we appreciate your patience. 


You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
  


Link: https://www.syncfusion.com/feedback/22586/need-to-provide-support-for-select-records-in-another-pages-using-selectrows


You can also communicate with us regarding the open feature at any time using our above feedback report page. We do not have an immediate plan to implement this feature and it will be included in any of our upcoming releases. Please cast your vote to make it count so that we will prioritize the improvement for every release based on demands.


We are closing this ticket for now. You can communicate with us regarding the open features at any time using the above Feature Report page.  



Regards,

Monisha




SG Stephen Green March 13, 2026 01:44 PM UTC

The 31.1.17 release supports selecting a row on a different page via SelectRowAsync() with selectAcrossPages":

await grid.SelectRowAsync(index: 15, selectAcrossPages: true);

See related question "Need to provide support for select records in another pages using SelectRows method".

However, this doesn't work for multiple rows because:

  • The SelectRowsAsync() method is missing the "selectAcrossPages" parameter.
  • It is not feasible to repeat SelectRowAsync() in a loop for performance reasons.

Can the "selectAcrossPages" parameter be added to the SelectRowsAsync() method as well?



PS Prathap Senthil Syncfusion Team March 16, 2026 02:42 PM UTC

Hi Stephen Green,

Based on your requirement, we are currently checking the feasibility on our end. In the meantime, we kindly request you to share more detailed expectations and confirm the points listed below:

  • For example, If you pass three indexes such as 450, 1, and 200 in the SelectRowAsync method (with a page size of 15), what is your expected behavior?
    In this scenario, which page should the navigation land on? Please share your exact expectation for this case.
  • Additionally, as per your request, we can achieve the requirement using persistent selection. Are you comfortable proceeding with persistent selection?
  • Kindly share the exact details and the precise requirement.

These details will help us validate the reported query and provide the most appropriate solution as quickly as possible. Thank you for your understanding and cooperation.


Regards,
Prathap Senthil


Loader.
Up arrow icon