Hi,
I have a requirement to make a certain UNBOUND column in my DataGridView editable. Depending on the value of another column (which is bound) in the DataGridView the column in question must either appear as a combo box showing a selection of valid choices OR as a freeform textbox. If a cell in my dynamic column holds a value of 2 for instance then the columncell should show a combo box and preselect the right item. The next row in the grid however might not require the use of a combobox and the cell in my dynamic column might display a textbox holding a freeform text.
Anyone have any pointers on how this can be implemented?
Cheers
Rafman
I have a requirement to make a certain UNBOUND column in my DataGridView editable. Depending on the value of another column (which is bound) in the DataGridView the column in question must either appear as a combo box showing a selection of valid choices OR as a freeform textbox. If a cell in my dynamic column holds a value of 2 for instance then the columncell should show a combo box and preselect the right item. The next row in the grid however might not require the use of a combobox and the cell in my dynamic column might display a textbox holding a freeform text.
Anyone have any pointers on how this can be implemented?
Cheers
Rafman