Programmatically deselect row with Grid.SelectRowAsync with Toggle set to true does not work when PersistSelection is true

Hi,

I struggle to deselect rows by their index when `PersistSelection` is set to true. Is it possible to deselect rows by their primary key instead? I do not want to clear the selection (use the `ClearRowSelectionAsync`) because I would like to keep the selection on the other pages.

Kind Regards, 

Susanne


1 Reply

SP Sarveswaran Palani Syncfusion Team November 27, 2023 04:13 AM UTC

Hi Sussane,

Greetings from Syncfusion support.

From your query, we suspect that you want to deselect row based on primary key. We would like to inform you that, currently it’s not possible to deselect row based on primary keys. And also, we would like to inform you that, you may select or deselect rows using mouse click. Based on the selection, records where persist because of persist select property. We request you to share the following details to us.


  1. What kind of issue you’re facing while using PersistSelecction?
  2. Request you to share exact requirement to us.


The above requested details will be helpful to validate further at our end and provide solution as earlier as possible.

Regards,
Sarvesh


Loader.
Up arrow icon