PlutoGridColumnSizeConfig class

Automatically change the column width or set the mode when changing the width.

Constructors

PlutoGridColumnSizeConfig({PlutoAutoSizeMode autoSizeMode = PlutoAutoSizeMode.none, PlutoResizeMode resizeMode = PlutoResizeMode.normal, bool restoreAutoSizeAfterHideColumn = true, bool restoreAutoSizeAfterFrozenColumn = true, bool restoreAutoSizeAfterMoveColumn = true, bool restoreAutoSizeAfterInsertColumn = true, bool restoreAutoSizeAfterRemoveColumn = true})
const

Properties

autoSizeMode PlutoAutoSizeMode
Automatically change the column width.
final
hashCode int
The hash code for this object.
no setteroverride
resizeMode PlutoResizeMode
This is the condition for changing the width of the column.
final
restoreAutoSizeAfterFrozenColumn bool
PlutoColumn.frozen Whether to apply autoSizeMode after state change. If false, autoSizeMode is not applied after the state change and the state after the change is maintained.
final
restoreAutoSizeAfterHideColumn bool
PlutoColumn.hide Whether to apply autoSizeMode after state change. If false, autoSizeMode is not applied after the state change and the state after the change is maintained.
final
restoreAutoSizeAfterInsertColumn bool
Whether to apply autoSizeMode after adding PlutoColumn. If false, autoSizeMode is not applied after column addition and the state after change is maintained.
final
restoreAutoSizeAfterMoveColumn bool
Whether to apply autoSizeMode after PlutoColumn is moved. If false, do not apply autoSizeMode after moving and keep the state after change.
final
restoreAutoSizeAfterRemoveColumn bool
PlutoColumn Whether to apply autoSizeMode after deletion. If false, autoSizeMode is not applied after deletion and the state after change is maintained.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({PlutoAutoSizeMode? autoSizeMode, PlutoResizeMode? resizeMode, bool? restoreAutoSizeAfterHideColumn, bool? restoreAutoSizeAfterFrozenColumn, bool? restoreAutoSizeAfterMoveColumn, bool? restoreAutoSizeAfterInsertColumn, bool? restoreAutoSizeAfterRemoveColumn}) PlutoGridColumnSizeConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant Object other) bool
The equality operator.
override