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.

How to customize a GridListControl (cell type) in a databound grid?

Thread ID:





5613 Jul 10,2003 06:48 AM Jul 11,2003 07:33 AM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On July 10, 2003 06:48 AM

Hi, I have a databound grid. In one of the columns, I am showing different kind of editors (textbox, comboboxes etc.) in different rows using the QueryCellInfo Model event. I am able to show GridListControl in some cells. I want to customize the gridlist control in the drop down. I was able to customize a gridlist control in a regular form with the help of Clay: http://www.syncfusion.com/forums/message.asp?MessageID=3175 I tried CurrentCellDropDownShowing event. But it does not give me a reference to the gridlist control. I tried the current cell renderer. It gives me a textbox. How do I get hold of the gridlist control to customize, in a dynamic cell type scenario? thanks, - Reddy

Administrator [Syncfusion]
Replied On July 11, 2003 02:51 AM

I was able to get the GridDropDownGridListControlCellRenderer in CurrentCellShowingDropDown in the attached sample where the GridListControl celltype was set in QueryCellInfo. What are you doing differently?

Administrator [Syncfusion]
Replied On July 11, 2003 07:33 AM

Hi Clay, Thanks for sending me the sample. It was a mistake I made in my code. I changed my base classes to handle grid list control. But I forgot to change the "Combobox" CellType to "GridListControl". Oops!!!! Thanks, - Reddy


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.