Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ComboBox in a DataGrid ?

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
Is there any means of making use of a ComboBox within a standard issue dataGrid component ?
Ideally I'd have a list of options (i.e. 'Option1', 'Option2', 'Option3') that the user can choose from as they step through the field in the dataGrid.
Can this be done ?
Can it be done simply without new components (third party or otherwise) ?
Any pointers would be appreciated.
Steve
 
You can do this by providing template columns for the edit mode of the data grid, if you use it in a web form. You can find examples at I'm sure that you can do this also for a Windows form, but I am not sure how. Maybe I will look into it. You may find the answer at the site above.
I hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top