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 November 19, 2004 09:10 AM UTC
Having a current cell and having selections are two different things.
Here a code snippet showing how you might check for these items.
if(this.gridGroupingControl1.TableModel.CurrentCellInfo != null)
Console.WriteLine(this.gridGroupingControl1.TableModel.CurrentCellInfo.ToString());
else
Console.WriteLine("no currentcell");
if(this.gridGroupingControl1.TableModel.Selections.Ranges.Count > 0)
Console.WriteLine("ranges: {0}",this.gridGroupingControl1.TableModel.Selections.Ranges.Count);
else
Console.WriteLine("no selections");
ADAdministrator Syncfusion Team November 19, 2004 01:22 PM UTC
You can also check
groupingGrid.Table.CurrentElement
to get the current NestedTable, CaptionBar or Record element of the underlying row where the current cell is.
And
groupingGrid.Table.CurrentRecordManager.CurrentField
to get the FieldDescriptor for the current column in the current record
Stefan