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.
How do I determine if an individual Row or Column is selected? Do i have to go thru the Selections collection (and each gridrangeinfo) to find the one I need?
ADAdministrator Syncfusion Team August 19, 2004 03:41 PM UTC
Here is code that checks whether some row is selected. You can do something similar with columns as well.
GridRangeInfoList selectedRanges = this.gridDataBoundGrid1.Selections.Ranges;
GridRangeInfo range = GridRangeInfo.Row(someRowIndex);
if(selectedRanges.Contains(range))
{
//someRowIndex is selected
}