columnWidthCalculationRange property
How the row count should be considered when calculating the width of a column.
Provides options to consider only visible rows or all the rows which are available in SfDataGrid.
Defaults to ColumnWidthCalculationRange.visibleRows
Also refer ColumnWidthCalculationRange
Implementation
final ColumnWidthCalculationRange columnWidthCalculationRange;