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

Enum ComboBox

Thread ID:





56010 Feb 8,2007 10:40 AM UTC Feb 8,2007 06:29 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 8, 2007 10:40 AM UTC


we have a GGC which is bound to a business object via databinding. Now I have a property in my binding object which is of type "object". So that this property can be a string or an enum.

Now I want to decide during runtime if I show a drop down box or a simple text box in a cell for this column. If the current cell value is of type enum I want to dynamically fill a choice list and set the cell value type. Now my problem is that when I click on the drop down button - nothing happens.

I have attached a sample where you can see the problem. Just click on the cell "Example1".

Any help would be great


Administrator [Syncfusion]
Replied On February 8, 2007 06:29 PM UTC


The reason is that the current cell is not actived when you clicked on the cell. This can be resolved by handling the TableControlCellClick event of the grid and set the current cell to edit mode using CurrentCell.BeginEdit method. I have modified a sample as per your requirements. Please have a look at the sample attached and let me know if you need any further assistance.

Sample : EnumComboBox.zip

Thanks for your interest in Syncfusion products.

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