I counter a problem with the multi-checkbox selection, in my grid could be many items with the same Item ID this causes the selection of all the products with the same ID by just clicking on one of them.
how can I solve this problem?s
1 Answer, 1 is accepted
0
Filip
Telerik team
answered on 19 May 2022, 01:17 PM
Hello, Daniel,
The encountered behavior is expected and items with the same ID will indeed get selected since the checkboxes rely on having a unique ID.
Depending on your business logic and use cases, what I can suggest currently is to set each item with a unique ID and specify a separate property in the items that can be the same without interfering with the ID for selection.
This approach can be seen in our demos, where the data is structured to have one unique ID, but multiple others like the SupplierID:
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/.