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.
Syncfusion Feedback

How to set combo box as cell type.

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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


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.



CheckBox_eb6cd218.zip

subindev
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.


subindev
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.

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



subindev
Replied On August 5, 2008 08:55 AM UTC

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


CONFIRMATION

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.

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

;