Hello,
I have a databound Datagridview Where AllowUserToResizeColumns = True.
In this Datagridview, I also have a Databound Combobox Column. Data for this column is pooled from a separate table. like this:
da.Fill(dt)
If dt.Rows.Count > 0 Then
With MyCombobox
MyCombobox.AutoComplete = AutoCompleteMode.SuggestAppend
.DataSource = dt
.ValueMember = "TR ID"
.DisplayMember = "TR ID"
End With
End If
The Issue:
I am initially able to re-size DGV Columns, but as soon as I enter or click on the MyCombobox cell [in nay row] I loose this ability. I can no longer resize any column in DGV, but I can still reorder them.
Does anyone know what can be causing this?
Thanks
I have a databound Datagridview Where AllowUserToResizeColumns = True.
In this Datagridview, I also have a Databound Combobox Column. Data for this column is pooled from a separate table. like this:
da.Fill(dt)
If dt.Rows.Count > 0 Then
With MyCombobox
MyCombobox.AutoComplete = AutoCompleteMode.SuggestAppend
.DataSource = dt
.ValueMember = "TR ID"
.DisplayMember = "TR ID"
End With
End If
The Issue:
I am initially able to re-size DGV Columns, but as soon as I enter or click on the MyCombobox cell [in nay row] I loose this ability. I can no longer resize any column in DGV, but I can still reorder them.
Does anyone know what can be causing this?
Thanks