Skip to main content

GridView.BestFitColumns Method

Name Parameters Description
BestFitColumns() none Adjusts column widths so that columns fit their content in an optimal way.
BestFitColumns(Boolean) forceResize Adjusts column widths so that columns fit their content in an optimal way. The method’s parameter allows you to forcibly adjust column widths regardless of whether column resizing is prohibited.