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 add a customized combobox into GridDataBoundGrid

Thread ID:





70119 Nov 28,2007 12:48 AM Jan 15,2008 04:01 AM Windows Forms 6
Tags: GridControl
Keping Wu
Asked On November 28, 2007 12:48 AM

Is it possible to add a comstomized comboBox into GridDataBoundGrid?

For windows datagridview, we can create classes inherited from DataGridViewTextBoxCell and DataGridViewColumn, then add the derived DataGridViewColumn class into Columns property of DataGridView. Just wondering if we can do something simular for syncfusion control?

Administrator [Syncfusion]
Replied On November 28, 2007 04:56 AM

See the discussion in the grid's User Guide on deriving Cell Controls.


It is under the Basic Concepts section.

You can also see many examples of custom cells in samples we ship. Look in this folder (or whereever you installed the samples).


Keping Wu
Replied On January 8, 2008 12:14 AM

Thanks for your reply.

Examples in local machine are designed for GridControl. And I'm looking for someting can be used in GridDataBoundGrid.

I've created my own CellModel and CellRenderer to display a customized comboBox. Now I'm wondering how to plug it into the GridDataboundGrid. There're no CellModels property for GridDataBoundGrid. I've also tried to handle PrepareViewStyleInfo event. But CellMode of GridStyleInfo is readonly, so I cannot assign my model to it.

Is there another way to customise the control for GridDataBoundGrid?

Fathima Shalini P [Syncfusion]
Replied On January 12, 2008 01:31 AM

Hi Keping,

Thanks for your interest in Syncfusion Products.

Custom cell type can be created in GridDataBoundGrid. The sample in the below link uses the custom cell type ''DropDownUserCell''. It uses DropDownUserControl as a custom cell. It does so by being derived from GridDropDownCellRenderer and GridDropDownCellModel.


Please let me know if any concerns.


Keping Wu
Replied On January 13, 2008 08:02 PM

Good example!!! Thanks mate.

Since I've created the model and renderer for grid control, I can simply assign it to:
1. Model.CellModels
2. Binder.InternalColumns[0].StyleInfo.CellType

Easy... :)

Would you please update those information into the help file for next release. Cause I found that the help file was not good enough to understand how to use the some of controls. Most of the time, I have to search the forum or post question. But you guys provided really good customer service and repsonse very quickly... Much appreciated.

Keping Wu
Replied On January 13, 2008 08:11 PM

Another question, we just downloaded the lastest Syncfusion Essential Studio ( After we installed it, we couldn't find any help files. Have help files been removed?

Fathima Shalini P [Syncfusion]
Replied On January 15, 2008 04:01 AM

Hi Keping,

Thanks for your valuable suggestions provided. I have notified our productization team to include neccessary details regarding custom cell types in DataBoundControl.

Documentation files are to be installed seperately. It is not included with the EssentialStudio setup file. Please find the latest documentation in the following link:


Please let me know if 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.