XRPivotGrid.BestFit() Method
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.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
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:
- a field’s caption specified by the PivotGridFieldBase.Caption property;
- field values of the field;
- summary values displayed within the columns that correspond to the data fields.
See Also