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. Image for the cookie policy date
close icon

How to set combo box as cell type.

Hi,
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???


6 Replies

AD Administrator Syncfusion Team 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.



CheckBox_eb6cd218.zip


SU subindev 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???



AD Administrator Syncfusion Team 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.



SU subindev August 5, 2008 05:35 AM UTC

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




AD Administrator Syncfusion Team August 5, 2008 07:50 AM UTC

I am sorry. I posted the wrong link.

Try this one.

http://www.syncfusion.com/support/user/uploads/ComboBoxCell-689061127.zip




SU subindev August 5, 2008 08:55 AM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon