Skip to main content
A newer version of this page is available. .

GridView.BestFitColumns Method

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