Skip to main content

PivotGridControl.BestFitColumnArea() Method

Resizes columns in the Data Area to the minimum width required to display their contents.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.1.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public void BestFitColumnArea()

Remarks

To resize columns that display row field values, use the PivotGridControl.BestFitRowArea method.

You can also apply Best Fit to all columns, or to columns that correspond to a particular field. To do this, use the PivotGridControl.BestFit method.

See Also