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

Customise GridComboBoxCellRenderer to set default values.

Thread ID:





70913 Jan 8,2008 11:58 PM UTC Jan 10,2008 10:25 AM UTC WinForms 4
Tags: GridControl
Asked On January 8, 2008 11:58 PM UTC

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 9, 2008 12:45 AM UTC

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 12:59 PM UTC


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 10, 2008 04:06 AM UTC

Can I get your email please? Thanks.

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


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.

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