Murray Brown
asked on
VB.net DataGridView Add a handler for selected index change on Dynamic DataGridView ComboBox column
Hi
I use the following code to dynamically add a ComboBox column to a DataGridView.
What code do I use to handle the Selected Index Changed event?
Dim ColumnCB As New DataGridViewComboBoxColumn
With ColumnCB
.HeaderText = "Status"
.Width = 80
.Items.Add("Late")
.Items.Add("Sick")
End With
I use the following code to dynamically add a ComboBox column to a DataGridView.
What code do I use to handle the Selected Index Changed event?
Dim ColumnCB As New DataGridViewComboBoxColumn
With ColumnCB
.HeaderText = "Status"
.Width = 80
.Items.Add("Late")
.Items.Add("Sick")
End With
ASKER
Thanks. What code do I add to do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great answer! I appreciate the time taken.
Glad for it ...
John . .
John . .
John..