I''m trying to display a DataView as the DataSource of a grid combobox. I need to customize the contents of this dataview since the choices could be different for different rows. So, I''ve been creating the DataView in CurrentCellActivated. It works if I tab into the column and then click on the dropdown button but it doesn''t work if I just click on the dropdown button. I''ve placed WriteLine''s in the code and the same code is being executed in both cases. What else would I need to do to get this to work?
P.S. - Tried moving the code to CurrentCellActivating, but it didn''t help.
Try using CurrentCellShowingDropDown.
AdministratorDecember 10, 2004 08:22 PM UTC
>Try using CurrentCellShowingDropDown.
The sample for this article is missing.
Also, I''m now constructing this DataView in CurrentCellShowingDropDown and it''s still not working. I''m kind of "one update behind" - the list that is shown in the dropdown is the correct list for the last dropdown that I tried.
AdministratorDecember 10, 2004 10:30 PM UTC
Try this link to get the sample.
Can you upload a sample (maybe modifying the above sample) that shows the problem you are having?