Prevent row selection in RadzenDatagrid

Hi,

Is there any way to prevent the selection of an individual row in RadzenDatagrid?

I have some rows that need to be selected and others that not depending on a data in the row...

Thks!

Hi @Daniel_Sanchez,

If the selection is multiple (SelectionMode == DataGridSelectionMode.Multiple) SelectRow() will toggle the selection state (will deselect row if already selected). Other possible approach is to remove some of the items in the collection bound to Value property, check our demo for details about selection:
https://blazor.radzen.com/datagrid-multiple-selection