SMART datagrid v.1 > Types

Back  Forward

DataLudi.GridFitStyle

The way of fitting total width of columns being displayed in the grid to grid width. It is used as fitStyle property of GridBase.displayOptions

Values
NONE"none"Do not fit. Display as column width.
EVEN"even"If total width of columns is less than grid width, it will evenly distribute the remaining width to the width of columns. If total width of columns is more than grid width, it will not change.
EVEN_FILL"evenFill"Adjust the width of columns to always fit total width of columns to grid width.
FILL"fill"If total width of columns is less than grid width, it will evenly distribute the remaining width to the width of columns in which set GridColumn.fillWidth value. If fillWidth is not set in any columns, it will evenly distribute to all columns. If total width of columns is more than grid width, it will not change.

See Also
GridBase.displayOptions
DisplayOptions.fitStyle
GridColumn.fillWidht