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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridComboBoxRenderer double click

Thread ID:





60192 Apr 30,2007 01:37 PM UTC Apr 30,2007 03:51 PM UTC WinForms 1
Tags: GridControl
Hans Dampf
Asked On April 30, 2007 01:37 PM UTC


we have a derived grid combo box cell (which is editable). Now when I make a double click in the cell I want the current value to be highlighted. The current behavior is that the value in the cell changes to the next value of the listbox. So how can I hightlight the cell value with a double click instead of switching to the next item of the listbox.


PS: I have attached a sample where you can see the behavior


haneefm [Syncfusion]
Replied On April 30, 2007 03:51 PM UTC

Hi Al,

You turn off selecting the next index when user double clicks inside the cell by setting the AllowDoubleClickChangeSelectedIndex property to false. Here is a code snippet

public class MyComboBoxCellModel : GridComboBoxCellModel
public MyComboBoxCellModel(GridModel grid): base(grid)
{ this.AllowDoubleClickChangeSelectedIndex = false;
public override GridCellRendererBase CreateRenderer(GridControlBase control)
return new MyComboBoxCellRenderer(control, this);

Sample: DropDownBox_Select.zip

Best regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon