AD
Administrator
Syncfusion Team
November 7, 2006 10:21 AM UTC
Hi Simon,
Use the Model.Selections property to manages selected ranges in the grid. It allows you to add and remove selections, determines selection state of a specific cell. Try the below code in the CellClick event of the grid.
this.grid1.Model.Selections.Add(GridRangeInfo.Table());
Best Regards,
Haneef
SK
Simon Kakon
November 7, 2006 01:54 PM UTC
Hi,
Thanks for your answer.
It doesn't work. I want to select only the current row with the current cell included.
IF i try
this.grid1.Model.Selections.Add(GridRangeInfo.Row(row, col))
it doesn't work too.
Thanks
>Hi Simon,
Use the Model.Selections property to manages selected ranges in the grid. It allows you to add and remove selections, determines selection state of a specific cell. Try the below code in the CellClick event of the grid.
this.grid1.Model.Selections.Add(GridRangeInfo.Table());
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
November 8, 2006 04:34 AM UTC
Hi Simon,
Try setting the ListBoxSelectionMode property to SelectionMode.One.
this.grid.ListBoxSelectionMode=SelectionMode.One;
Regards,
Haneef