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.
Thanks
Vikram E.
3 Answers, 1 is accepted
0
Stefan
Telerik team
answered on 22 Sep 2020, 07:20 AM
Hello, Vikram,
We have a GitHub discussion logged for this.
We also made an example showcasing how it can be done with the current version:
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).
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.
0
Stefan
Telerik team
answered on 23 Sep 2020, 11:15 AM
Hello, Vikram,
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.
Regards,
Stefan
Progress Telerik
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/.