|
-
May 3rd, 2007, 11:11 AM
#1
Thread Starter
PowerPoster
datagridview unbound combo?
in a datagridview, is there a way to add an unbound combo box? in that, you are still able to type in your inputs but also having the ability to choose items from the drop down list?
-
May 3rd, 2007, 07:21 PM
#2
Re: datagridview unbound combo?
The DataGridViewComboBoxColumn doesn't support that. If you want that behaviour then you'd have to inherit the DataGridViewComboBoxColumn, DataGridViewComboBoxCell and (maybe) DataGridViewComboBoxEditingControl classes and provide it yourself.
-
May 4th, 2007, 01:45 AM
#3
Thread Starter
PowerPoster
Re: datagridview unbound combo?
interesting....thanks
-
May 4th, 2007, 03:18 AM
#4
Re: datagridview unbound combo?
Actually, you may be able to handle the EditingControlShowing event and set the DropDownStyle of the EditingControl to DropDown. That's a bit of a hack but it will do the job.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|