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.BestFit Method

Name Parameters Description
BestFit() none Resizes the columns and rows which correspond to the data and row fields, to the minimum width and height required to completely display their contents.
BestFit(FieldArea, Boolean, Boolean) area, fitWidth, fitHeight Resizes the columns and rows which correspond to the fields contained within the specified area, to the minimum width or height required to completely display their contents.
BestFit(FieldArea) area Resizes the columns and rows which correspond to the fields contained within the specified area, to the minimum width and height required to completely display their contents.
BestFit(PivotGridField, Boolean, Boolean) field, fitWidth, fitHeight Resizes the columns and rows which correspond to the specified field, to the minimum width or height required to completely display their contents.
BestFit(PivotGridField) field Resizes the columns and rows which correspond to the specified fields, to the minimum width and height required to completely display their contents.
BestFit(Boolean, Boolean) fitWidth, fitHeight Resizes the columns and rows which correspond to the data fields and row fields, to the minimum width or height required to completely display their contents.