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

comboboxes with databound grid

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.

2 Replies

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


TT Terry Thompson March 18, 2004 05:44 PM UTC

That did it. Thanks

Loader.
Up arrow icon