Restoring the UI (width) changes in datagrid after refresh
Hi,
How to restore the UI changes like explicit change of width by user in data grid after refresh data?
In List view, when user change width, and data refreshed, width remains same. but for datagrid, it restores to original(default) width.
Krishna Sarma Thursday, November 16, 2006 6:10 PM
save the original width on load:
Dim
SavedWidth As Integer = 0
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
SavedWidth = Me.DataGridView1.Width
End Sub