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

comboboxes with databound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

11896 Mar 17,2004 05:47 PM UTC Mar 18,2004 05:44 PM UTC WinForms 2
loading
Tags: GridControl
Terry Thompson
Asked On March 17, 2004 05:47 PM UTC

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 07:32 PM UTC

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 05:44 PM UTC

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.

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

;