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.

comboboxes with databound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

11896 Mar 17,2004 12:47 PM Mar 18,2004 12:44 PM Windows Forms 2
loading
Tags: GridControl
Terry Thompson
Asked On March 17, 2004 12:47 PM

I am developing an application using the batabound grid. How can I make a single cell in a column a combobox? The issue is that the entries in my "Value" column represent different types of data. Some of them need to be picked from a list. Any ideas? Any help would be greatly appreciated since this thing is due this week.

Administrator [Syncfusion]
Replied On March 17, 2004 02:32 PM

Try handling the QueryCellInfo event. (It is a member of grid.Model). In the handler, if e.ColIndex and e.RowIndex point to your cell, then set e.Style.DataSource, e.Style.DisplayMember, e.Style.ValueMember and e.Style.CellType to reflect the combobox you want to see in that single cell.

Terry Thompson
Replied On March 18, 2004 12:44 PM

That did it. Thanks

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.

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.

;