all RowHeight

Can i change the height of all rows at once in 1 line? The same question for all columns at once. thks, ak

1 Reply

AD Administrator Syncfusion Team July 25, 2005 06:33 AM UTC

If you have never set the individual row heights or col widths, you can just set the grid.DefaultColWidth and grid.DeafaultRowHeight properties. If you have set the size of individual rows and columns, then you would first have to call grid.Model.RowHeights.ResetRange and grid.Model.COlWidths.ResetRange. You can also use grid.Model.RowHeights.SetRange and grid.Model.ColWidths.SetRange.

Loader.
Up arrow icon