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.
I use datagrid.CurrentRowIndex, but this value
can not be mapped to the datasource.
How to get the rowindex of the datasource when
clicked the datagrid? thanks.
ADAdministrator Syncfusion Team November 29, 2002 08:45 AM UTC
You can try using the Position property of the CurrencyManager object.
CurrencyManager cm = (CurrencyManager) this.BindingContext[this.dataGrid1.DataSource, this.DataGrid1.DataMember];
int index = cm.Position;