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,
I am using a GridGroupingControl. One of the columns in my GGC has a checked dropdownlist. If i delete one row, i use the RecordDeleting event handler. How do i get the row index of the row i''m deleting and the Row/column index of the column that has the checked dropdownlist.
Regards
David
ADAdministrator Syncfusion Team July 4, 2005 09:50 AM UTC
Do you want to know the index of the row to be deleted in the datasource? If so, try this call in the RecordDeleting event:
int index = e.Record.GetSourceIndex();
To get the grid column index of any field, you can use:
int field = this.gridGroupingControl1.TableDescriptor.NameToField("colName");
int gridIndex = this.gridGroupingControl1.TableDescriptor.FieldToColIndex(field);