Grid single selection mode is set, but certain rows when clicked will add the "k-selected" class to other rows. Has anyone else experienced this?

1 Answer 5 Views
Grid
Will
Top achievements
Rank 2
Iron
Will asked on 14 May 2025, 03:17 PM

There is a known issue where the previously selected row will stay selected. That's not what I'm seeing. My issue is seemingly random but consistent. Clicking certain rows will always apply "K-selected" to the same extra rows, and selecting any one of the highlighted rows will also highlight the same set of rows. There doesn't seem to be any connection in the data between the rows, and the "selected items" object is correctly holding the proper selected item and no others. Has anyone else seen anything similar? Thank you!

It would be difficult to provide you with working code, but the attached video shows my issue.

1 Answer, 1 is accepted

Sort by
1
Accepted
Dimo
Telerik team
answered on 15 May 2025, 08:47 AM

Hello Will,

The observed behavior suggests a possible problem with:

  • data item instances (object references) (e.g. Equals() override)
  • custom business logic (e.g. in SelectedItemsChanged)
  • incorrect usage of two-way parameter binding in a parent-child component scenario

We will need an isolated runnable example to troubleshoot further.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Will
Top achievements
Rank 2
Iron
commented on 15 May 2025, 02:00 PM

Dimo,

Thank you so much! It was in fact an Equals() override that I had completely forgotten about. I don't know if I ever would have figured that one out. Seriously thank you!

Tags
Grid
Asked by
Will
Top achievements
Rank 2
Iron
Answers by
Dimo
Telerik team
Share this question
or