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 set combo box as cell type.

Thread ID:





75628 Aug 4,2008 02:08 AM Aug 5,2008 04:55 AM WPF 6
Tags: GridControl
Asked On August 4, 2008 02:08 AM

How set Combo box as synfudion Grid celltype. To specify the Combo elements the Choicelist property is not available in wpf. Do i need to specify a template to represent a combo box???

Administrator [Syncfusion]
Replied On August 4, 2008 03:54 AM

We will be adding a dropdown cell type in a future release. For now, you would have to use a custom celltype. Here is a minimal sample.


Replied On August 4, 2008 04:22 AM

But I cannot Use set a combo Box like this.
i tried like

grid.CellType = "ComboBox";

But How could i specify the combo items in the cell value field???

Administrator [Syncfusion]
Replied On August 4, 2008 04:42 AM

There is no built in support for a combox celltype right now. There are no GridStyleInfo properties like DataSource, DisplayMember, or ValueMember yet. There will be, but they are not present yet.

If you want to use a combobox celltype now, you will have to add the ComboBoxCellModel and ComboBoxCellRenderer classes from the above sample into your application so you can have access to a ComboBox celltype.

Replied On August 5, 2008 01:35 AM

But, In the Above Check Box sample does'nt contain any ComboBoxCellMdel classes....

Administrator [Syncfusion]
Replied On August 5, 2008 03:50 AM

I am sorry. I posted the wrong link.

Try this one.


Replied On August 5, 2008 04:55 AM

Thank You Very much.......:)


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.