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.
Hi,
Is it possible to have the ability to select multiple column and be able to select only one row. (row and column seperated, not at the same time)
Thank
ADAdministrator Syncfusion Team October 28, 2005 10:20 PM UTC
The are no property setting that will give you this behavior.
But you can handle the grid.Model.SelectionChanging event. In that event, you can test e.Range (the new selection if it is not null) and grid.Selections.Ranges. If e.Range and grid.Selections.Ranges are what you want to dis-allow, you can set e.Cancel = true to cancel the new selection.
ADAdministrator Syncfusion Team October 31, 2005 02:19 PM UTC
Thank !
ADAdministrator Syncfusion Team October 31, 2005 08:34 PM UTC
What I did for people that are interested.
Private Sub TreeGridControl_SelectionChanging(ByVal sender As Object, ByVal e As GridSelectionChangingEventArgs) Handles MyBase.SelectionChanging
Dim range As GridRangeInfo
If Not e.Range Is Nothing Then
If e.Range.IsRows Then
For Each range In Me.Selections.Ranges
If range.IsRows Then
e.Cancel = True
Exit For
End If
Next
End If
End If
End Sub