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

How to set combo box as cell type.

Thread ID:





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

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 07:54 AM UTC

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 08:22 AM UTC

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 08:42 AM UTC

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 05:35 AM UTC

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

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

I am sorry. I posted the wrong link.

Try this one.


Replied On August 5, 2008 08:55 AM UTC

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.

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