The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team March 15, 2004 06:10 AM UTC
If you want the row selected whereever you click into the row (not only if you click the row header), then you can set
this.grid.ListBoxSelectionMode = SelectionMode.One;
If you do not want to use ListBoxSelectionMode, then the grid.AllowSelections property controls how selections behave. You can set flags so only rows are allowed. But if you only want a single row without using ListBoxSelection, then you would have to handle grid.Model.SelectionsChanging. In the handler, if e.Range.IsRows is false or if e.Range.Height is not 1, then set e.Cancel = true to cancel the selections.