Resolved Add a combobox in DataGridView row?

Ksilenio

Member
Joined
Jan 7, 2021
Messages
10
Programming Experience
3-5
Hi to everyone.I have a question . Is possible to add a combobox in a row of a DataGridView but not in all rows but by choice?
If yes how can i do it?
Thank you for your time
Regards Kostas
 
Solution
You can assign a cell of any type at any location within the grid at which a cell already exists, e.g.
VB.NET:
Dim cell As New DataGridViewComboBoxCell

'Configure cell here'

DataGridView1(columnIndex, rowIndex) = cell
You can assign a cell of any type at any location within the grid at which a cell already exists, e.g.
VB.NET:
Dim cell As New DataGridViewComboBoxCell

'Configure cell here'

DataGridView1(columnIndex, rowIndex) = cell
 
Solution
Back
Top