DataGridViewComboBoxColumn -> How to update the dropdownList ?

Hello !

I am using a DataGridViewComboBoxColumn (actually for a profile selection), and when I add or remove a Profile, it is added or removed to/from the DropdownList of the Combobox. The problem is that this DropdownList is only updated when I leave the Cell, and return to the cell.

How can I update a DropdownList programmaticaly

Also, how can I cast a ComboBo from a DataGridViewComboBoxColumn (in order to use the ComboBox methods, instead of accessing to the Cell via myFataGridView.RowsIdea.Cells[j].Value )

Tanks



Answer this question

DataGridViewComboBoxColumn -> How to update the dropdownList ?

  • B12 - Billy Liu

    Still looking for the answer :/
  • hte

    No one :(
  • MirnaHAnna

    Hi,

    For your first inquiry, could you provide us with more details about the data source fo the DataGridView and the ComboBoxColumn Also, a bit of detail on the "workflow" you are trying to achieve for the user.

    Regards,

    Luc


  • JakubM

    Help !


  • DataGridViewComboBoxColumn -> How to update the dropdownList ?