|
-
Nov 9th, 2010, 07:32 PM
#1
Re: DataGridView ComboBox Columns
 Originally Posted by mickey_pt
Thanks once again jmcilhinney
I don't understand well what i have to do in the filtered combo box...
You say that i need to handle the EditingControlShowing and inside the event i set the datasource/options? I though that the EditingControlShowing event was raised when the cell entered in edit mode, and not when i set the datasource for the dgv...
That's correct. What's the problem here? You need a different data source for each row, right? If you need a different data source for each row then what's the point of setting the DataSource for the column? There's isn't one. You should either set the DataSource of each cell individually or just set the DataSource of the editing control as and when required.
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
|