Add some constructors to Syncfusion.Windows.Forms.Grid.GridRangeInfo to initialize the values, so you can add selections to the grid programmaticaly with one line:
syncGrid.Selections.Add(new GridRangeInfo(GridRangeType.Rows, 0, 100)); //etc.
ADAdministrator Syncfusion Team May 28, 2003 02:52 PM
you should use these constructors instead:
GridRangeInfo rows = GridRangeInfo.Rows(0, 100);
cells = GridRangeInfo.Cells(0,1,2,5);
There are ctors for Cell, Cells, Row, Rows, Col, Cols and Table.