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

CustomCellRenderer and DropDownStyle

Thread ID:





59418 Apr 12,2007 12:15 PM UTC Apr 12,2007 10:42 PM UTC WinForms 1
Tags: GridControl
Franz Gsell
Asked On April 12, 2007 12:15 PM UTC


I am using a customcellrenderer which is derived from GridComboBoxCellRenderer. Now I want to set the DropDownStyle of my CustomCellRenderer to "Exclusive" by default.

But when I do something like this in the constructor of my derived cell renderer:

this.StyleInfo.DropDownStyle = GridDropDownStyle.Exclusive;

nothing happens. The style is still "Editable".

It is important for me to set the style inside the renderer - is there any way to solve this?


PS: I forgot to mention that I am using a GGC - don't know if this becomes important

haneefm [Syncfusion]
Replied On April 12, 2007 10:42 PM UTC

Hi Tom,

You need to turn OFF the SupportFocusControl property in a dervied GridComboBoxCellRenderer class. Here is a code snippet.

this.SupportsFocusControl = false;

Please refer to the attached sample for implementation.

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

or the page will be automatically redirected to 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