When using a grid with checkboxes, how can we persist the checkbox for the item when sorting columns?
For example, a datagrid has three items: A, B and C.
When the user ticks the checkbox for C and then sorts the grid in descending order by clicking on a column header (i.e., by name), the checkbox is still checked in the 3rd row, but the grid now shows A as being selected, because the grid now displays C, B and A (after the descending sort order).
SSSeeni Sakthi Kumar Seeni Raj Syncfusion Team November 27, 2019 07:39 AM
Usually, checkbox selection with the persistSelection property must be works with data presence in the Grid. But in this case, it is misbehaving. We are validating the problem at our end and we will update you further details in two business days.
Seeni Sakthi Kumar S
SSSeeni Sakthi Kumar Seeni Raj Syncfusion Team November 29, 2019 03:36 AM
Thanks for your patient.
We have checked your query at our end. By default, checkbox selection is maintaining depends upon the primary key. Please refer to the below sample.
But for this case, we suspect you are using checkbox selection with enabling virtualization property. So we validated and confirmed it is not feasible for our current grid architecture’s limitations. Please refer to the below limitation link for more information.