We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to hilight a row in a hierarchy GridDataBoundGrid when clicking on the unbound dropdown column

Hi,
How to hilight a row in a hierarchy GridDataBoundGrid when clicking on the unbound dropdown column?

1 Reply

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

Loader.
Live Chat Icon For mobile
Up arrow icon