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

Double clicking cell and GridListControl

When the CellType of a GridBoundColumn in a GridDataBoundGrid is set to "GridListControl", when users double click the cell, the current value seems to scroll through the values in the data source (of the drop down grid, not the data bound grid). that is, double clicking the cell on a GridListControl seems to be a way of cycling through the possible values. Is there a simple way to disable this? Thanks, Mark

1 Reply

AD Administrator Syncfusion Team May 12, 2006 04:23 AM UTC

Hi Mark, You need to use this code to turn off double click behavior in a GridListControl cell.Here is a code snippet. GridDropDownGridListControlCellModel cm = this.grid.Model.CellModels["GridListControl"] as GridDropDownGridListControlCellModel; cm.AllowDoubleClickChangeSelectedIndex = false; Please let me know if this helps Best regards, Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon