private void gridModel_ColWidthsChanged(object sender, GridRowColSizeChangedEventArgs e) { this.gridDataBoundGrid1.ViewLayout.Reset(); this.gridDataBoundGrid1.UpdateScrollBars(); }
>private void gridModel_ColWidthsChanged(object sender, GridRowColSizeChangedEventArgs e) >{ > this.gridDataBoundGrid1.ViewLayout.Reset(); > this.gridDataBoundGrid1.UpdateScrollBars(); >} >
''in formload AddHandler Me.grid.Model.ColWidthsChanged, AddressOf gridModel_ColWidthsChanged Private Sub gridModel_ColWidthsChanged(sender As Object, e As GridRowColSizeChangedEventArgs) Me.grid.ViewLayout.Reset() Me.grid.UpdateScrollBars() End Sub ''gridModel_ColWidthsChanged