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;
However, I''m unclear what the equiavlent is for GridGroupingControl.
ADAdministrator Syncfusion Team April 7, 2004 07:20 PM
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 11:46 AM