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''m switching from GridDataBoundGrid to GridGroupingControl. I want to get an event
when the user selects a row and get my data from the bound DataTable.
I used to have something like this as my grid_CurrentCellActivated:
GridModelDataBinder binder = grid.Binder;
int binderposition = binder.CurrentPosition;
System.Data.DataView dv = grid.DataSource as System.Data.DataView;
System.Data.DataRowView rowview = dv[binderposition];
MyStrongType item = rowview.Row as MyStrongType;
//do something
However, I''m unclear what the equiavlent is for GridGroupingControl.
Thanks!
ADAdministrator Syncfusion Team April 8, 2004 12:20 AM UTC
The GridGroupingControl has a family of events, TableControlXXXXXXXXX, that mimic the ones from teh GridControlBase. So, you can use TableControlCurrentCellActivated.
In this forum thread, there is an explanation of how you can get the DataRow from the current record. http://www.syncfusion.com/forums/message.asp?MessageID=10442
ADAdministrator Syncfusion Team April 9, 2004 04:46 PM UTC