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

XRPivotGrid.BestFit() Method

In This Article

Resizes the columns which correspond to the data fields and row fields to the minimum width required to completely display the column’s contents.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public void BestFit()

#Remarks

This method resizes the column(s) that correspond to the data fields and row fields so that the column’s contents are completely displayed. The BestFit method takes this into account:

See Also