AD
Administrator
Syncfusion Team
January 15, 2007 11:10 AM UTC
The events you mention try to flag changes in the this.gridGroupingControl1.Table.SelectedRecords collection. This is the collection of selected recrods that you get when you use the grid in ListBoxMode (by setting TableOptions.AllowSelections=None and TableOptionsListBoxMode to something other that None).
If you are not using these properties, then you can try using the CUrrentRecordContextChanged event. this event is raised often, but you can check the e.Action to pick out only the moving of the current record.
void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
if (e.Action == Syncfusion.Grouping.CurrentRecordAction.LeaveRecordComplete)
{
Console.WriteLine(e.Record);
}
}