Enum ColumnWidthMode
Defines constants that specify how the columns in a SfDataGrid are sized.
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public enum ColumnWidthMode
Fields
| Name | Description |
|---|---|
| Auto | Set the column width by calculating the maximum size among the header cell and among the cells in column. |
| Fill | Divides the total width equally for columns. |
| FitByCell | Set the column width by calculating the maximum size among the data cells in column except header cells. |
| FitByHeader | Calculates the width of column based on header. |
| LastColumnFill | Calculates the width for the columns except the last column which is visible and the remaining width from total width of SfDataGrid is set to last column if width of this column is not set. |
| None | No auto-column sizing for the columns. Default column width or defined width set to column. |