Duplicated
Last Updated: 30 Sep 2021 17:45 by Javier
Javier
Created on: 29 Sep 2021 15:56
Category: UI for Blazor
Type: Bug Report
1
Blazor GridCheckboxColumn remains selected even when the row is not a part of selected items

Hi,

I have a Blazor grid with multiple selection, and the selection is taken care of using the SelectedItemsChanged event. In that event, I want to check if the selected items satisfy certain criteria, and if not, ignore that particular selection change event.

In the attached sample project, if the EmployeeID is not 6, then the SelectedItems property would get updated. If you see the attached screenshot, that seems to almost work. Employee 6 is not highlighted like the other selected items. But the checkbox is still selected, and that would be confusing since the row is actually not a part of the selected items.

The sample project uses version 2.12, but in another project which runs 2.27, it happens there too.

Please let me know if there's something I missed.

Thanks!

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
2 comments
Javier
Posted on: 30 Sep 2021 17:45
Sounds good. Thanks Marin!
ADMIN
Marin Bratanov
Posted on: 30 Sep 2021 17:05

Hi Javier,

Thank you for reporting this. You can Follow its fix in the first report here: https://feedback.telerik.com/blazor/1500534-when-you-use-the-checkbox-to-select-a-row-you-cannot-clear-it-if-you-cancel-the-selecteditemschanged-event. I've added your Vote to it, and there is a workaround there that you can try.

Regards,
Marin Bratanov
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.