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.
Unfortunately, activation email could not send to your email. Please try again.

Customise GridComboBoxCellRenderer to set default values.

Thread ID:





70913 Jan 8,2008 06:58 PM Jan 10,2008 05:25 AM Windows Forms 4
Tags: GridControl
Asked On January 8, 2008 06:58 PM

I want to create a special combobox which only display some values I set. I've created ComboBoxCellModel and Renderer for that. And override OnInitialize function to do that. In OnInitialize function, I set the ListBoxPart.DataSource to default values. But when I clicked on droplist, the list is still empty. I've also tried to set StyleInfo.ChoiceList in OnInitialize function, but it didn't work either.

Could anyone tell me how to do that. Thanks.

Replied On January 8, 2008 07:45 PM

Problem solved. forgot to put base.OnInitialize in the begining of the call.

There's one thing I'm still confused about. OnInitialize is called every time I clicked on the dropdown button. Isn't cell only initialized once?

Fathima Shalini P [Syncfusion]
Replied On January 9, 2008 07:59 AM


Thank you for your interest in Syncfusion Products.

To analyse and reproduce this issue, could you please send us a sample, so that we could sort out the cause of issue and provide you a better solution.

Please let me know if any concerns.


Replied On January 9, 2008 11:06 PM

Can I get your email please? Thanks.

Fathima Shalini P [Syncfusion]
Replied On January 10, 2008 05:25 AM


Here is my mail id : fathimap@syncfusion.com. You can also send your sample to support@syncfusion.com.

Please let me know if you have any concerns.



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.

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.