Hi,
Attached an Issue I ran into while loading a DatagridView at runtime while also setting their column properties.
To reproduce (attached is a sample):
With DataGridView1
With .Columns(“P_ID”)
.Visible = False
End With
With .Columns(“Message”)
.HeaderText = “Bericht”
.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill
.MinimumWidth = 300
End With
With .Columns(“SenderName”)
.HeaderText = “Door”
.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells
End With
With .Columns(“SendDate”)
.HeaderText = “Datum”
.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells
End With
End With
End Sub
Column “Message” should have the maximum available width but it is stuck at 300. If I were to add the columns at design time and set these properties the grid seems to work fine.
I’m running the 3.5.15-Preview
Thanks
Vincent
Hi Vincent,
This issue is fixed in our latest release (Wisej.NET 3.1.5)!
Best,
Alaa
//
Please login first to submit.