Posted 12 March 2018, 1:11 am EST
Hello,
You can disable selection for GroupRows in C1DataGrid using grid’s LoadedRowPresenter event as follows:
private void grid_LoadedRowPresenter(object sender, C1.WPF.DataGrid.DataGridRowEventArgs e)
{
if (e.Row.Type == DataGridRowType.Group)
{
[b]e.Row.IsSelectable = false;[/b]
}
}
```[b]Re. single selection vs multiple:[/b] I could not completely understand that. Do you mean to restrict the user to select single cell/row/column or multiple row/columns. If this is what you meant then you can use [b]SelectionMode [/b]property of C1DataGrid and set it to SingleRow/SingleRange/SingleColumn/SingleCell/MultiRow/MultiRow etc
Thanks,
Ruchir Agarwal