Hi All
I have a method to configure a datagridview, meaning changing the column widths, format columns etc.
If I call the configuration meathod from the form load doesn't work because the form hasn't been totaly loaded and I dont get the correct size of the datagrid, to be able to adjust the clomns with.
How can I performed this.
Private Sub Custom_Load(sender As Object, e As EventArgs) Handles MyBase.Load
dgv_Custom.DataSource = dt_Custom
Config_Datagrid()
End Sub