AD
Administrator
Syncfusion Team
July 31, 2006 05:16 AM UTC
Hi Anat,
The Selection mode for the Grid control can be set via the ListBoxSelectionMode property. The Grid can emulate list boxes and this property indicates the list box selection mode setting.
//To Enable the listbox selection mode.
this.grid.ListBoxSelectionMode = SelectionMode.One;
//To select the current row pragrammatically
this.grid.Selections.SelectRange(GridRangeInfo.Row(this.grid.CurrentCell.RowIndex), true);
Let me know if this helps.
Best Regards,
Haneef