Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.BestFitRowArea() Method

In This Article

Resizes columns that display row field values to the minimum width required to display their contents.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public void BestFitRowArea()

#Remarks

To resize columns in the Data Area, use the PivotGridControl.BestFitColumnArea 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