Hi,
The GridGroupingControl has two types of selection mode.
Type 1: Record based selection
>>>>>>
This selection support is turned on by setting the grid.TableOptions.AllowSelections to None and setting the grid.TableOptions.ListBoxSelectionMode to something other than None.This selection functionality raises events like the grid.SelectedRecordsChanging/SelectedRecordsChanged event.
[c#] //Add a Selection.
this.gridGroupingControl1.Table.SelectedRecords.Add(record);
//Detect the selection
private void gridGroupingControl1_SelectedRecordsChanging(object sender, SelectedRecordsChangedEventArgs e)
{
if( e.Action == SelectedRecordsChangedType.Added )
e.Cancel = IsRowHeaderCell;
}
Type 2: Row based selection
>>>>>>>
This selection support can be turned on by setting the grid.tableOptions.AllowSelections to something other than None. This selection functionality raises events like the grid.TableModel.SelectionChanging/Changed.
[c#]
this.gridGroupingControl1.TableControl.Selections.Add(GridRangeInfo.Row(3));
Please refer to the following KB article for more details.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=344Best regards,
Haneef