In above example I'm using grouping and row selection as well.
Issue is: row selection is not working when grouped. IF you remove grouping `unit in stock` and click on any row it will immediately highlight selected row.
3 Answers, 1 is accepted
answered on 22 Sep 2020, 07:20 AM
We have a GitHub discussion logged for this.
We also made an example showcasing how it can be done with the current version:
Seems like you've misunderstood. I'm not worried about persistence.
My Issue is with row selection (onClick of a row) highlight with is not working when grouped.
When not grouped, OnClick of a row I'm selecting a row (& highlighting it);
This row selection and highlighting isn't working when any column is grouped.
answered on 23 Sep 2020, 11:15 AM
The issue is ultimately the same.
When the records are grouped, the data collection is completely new (new reference), which means that the selected field gets removed during the grouping process.
This is why we have to use the approach shown in the GitHub issue to re-apply the selection state to the records after the data is processed.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.