Hi Ejaz,
There is no property setting that will help you to have column based selection in GGC. You will have to handle the
TableControlCurrentCellMoved/TableControlCellClick event handlers to achieve this. Please refer the sample:
http://websamples.syncfusion.com/samples/Grid.Windows/F59722/main.htmIf you want to place the hidden column in between the selected columns, please try this code snippet:
if(e.TableControl.Selections.Count==2)
{
this.gridGroupingControl1.TableDescriptor.Columns.Add("Col2");
int presentcol2 = gridGroupingControl1.TableDescriptor.Columns.IndexOf("Col2");
this.gridGroupingControl1.TableDescriptor.Columns.Move(presentcol2,2);
}
Kindly let us know if this helps.
Best Regards,
Jeba.