FdcComboColumn<T> class

Grid column for fields whose values come from a predefined option set.

The column maps stored values to display labels and uses combo-style editing for writable cells.

Inheritance

Constructors

FdcComboColumn({required String fieldName, String? id, String? groupId, required List<FdcOption<T>> options, String? label, String? hint, bool visible = true, bool exportable = true, bool enabled = true, bool readOnly = false, int? focusOrder, bool tabStop = true, double? width, double minWidth = 0, double maxWidth = 0, FdcGridColumnAutoSizeMode autoSizeMode = FdcGridColumnAutoSizeMode.none, bool allowSort = true, FdcColumnFilterConfig? filterConfig, bool allowResize = true, FdcGridHorizontalAlignment? horizontalAlignment, bool showIndicator = true, FdcColumnValueChanging<T>? onValueChanging, FdcColumnValueChanged<T>? onValueChanged, FdcGridCellStyle? cellStyle, FdcGridColumnPin pin = FdcGridColumnPin.none, FdcColumnSummary summary = const FdcColumnSummary(), FdcGridMenuBuilder? menuBuilder, bool showCounter = false, FdcCounterStyle counterStyle = const FdcCounterStyle(), bool showSelectedOptionCheckmark = true, FdcComboSearchOptions search = const FdcComboSearchOptions(), String? searchHintText, int maxPopupItems = 8})
Creates a FdcComboColumn.
const

Properties

allowResize bool
Whether allow resize.
finalinherited
allowSort bool
Whether allow sort.
finalinherited
autoSizeMode FdcGridColumnAutoSizeMode
Automatic width behavior used when the grid viewport changes size.
finalinherited
cellStyle FdcGridCellStyle?
Optional visual overrides applied to body cells in this column.
finalinherited
counterStyle FdcCounterStyle
Optional text style used by the character counter.
finalinherited
dataType FdcDataType
Dataset value type represented by this column.
no setterinherited
effectiveEditor FdcEditorType
Built-in editor mode used when this column enters edit state.
no setteroverride
enabled bool
Enables grid-managed filtering for this column.
finalinherited
exportable bool
Whether this field-bound column participates in grid-driven exports.
finalinherited
fieldName String
Dataset field name associated with this object.
finalinherited
filterConfig FdcColumnFilterConfig?
Optional per-column header filter configuration.
finalinherited
filterEnabled bool
Whether grid-managed filtering is enabled for this column.
no setterinherited
focusOrder int?
Optional explicit keyboard focus order among focusable grid columns.
finalinherited
groupId String?
Optional id of the visual column group this column belongs to.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hint String?
Optional tooltip or contextual hint associated with this column.
finalinherited
horizontalAlignment FdcGridHorizontalAlignment?
Optional horizontal alignment for the entire column.
finalinherited
id String?
Stable developer-defined column identity.
finalinherited
isDataBound bool
Whether this column is backed by a dataset field.
no setterinherited
isEffectivelyReadOnly bool
True when grid editing is disabled by configuration or column semantics.
no setterinherited
isInherentlyReadOnly bool
True when the column type itself cannot support grid editing.
no setterinherited
label String?
Display label shown to the user.
finalinherited
lookupIcon IconData
Icon used by the focused-cell lookup button.
finalinherited
lookupShortcut FdcKeyboardShortcut?
Keyboard shortcut that invokes onLookup for the focused cell.
finalinherited
maxPopupItems int
Maximum number of options shown before the combo popup scrolls.
final
maxWidth double
Maximum width allowed during layout and resize; zero means no explicit maximum.
finalinherited
Optional body-cell context menu override for this column.
finalinherited
minWidth double
Minimum width allowed during layout and interactive resize.
finalinherited
onLookup FdcGridLookup<T>?
Optional asynchronous lookup invoked by the focused-cell lookup button.
finalinherited
onValueChanged FdcColumnValueChanged<T>?
Optional column-level notification invoked after a value was successfully written for this column.
finalinherited
onValueChanging FdcColumnValueChanging<T>?
Optional column-level interceptor invoked before values are written into the dataset. Useful for cell-level validation and transformations such as barcode-to-article-code lookup.
finalinherited
options List<FdcOption<T>>
Options used by this configuration.
final
pin FdcGridColumnPin
Initial horizontal pinning mode for this column.
finalinherited
readOnly bool
Prevents editing through this column while keeping the field visible.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Configures optional search inside the combo popup.
final
searchHintText String?
Optional hint shown in the combo popup search field.
final
showCounter bool
Shows a character counter in the text editor.
finalinherited
showIndicator bool
Controls whether this column renders the active-cell indicator overlay.
finalinherited
showSelectedOptionCheckmark bool
Shows a check mark beside the currently selected combo option.
final
summary FdcColumnSummary
Per-column summary row behavior and style.
finalinherited
tabStop bool
Whether Tab navigation may stop on this column.
finalinherited
visible bool
Whether the column participates in the current grid layout.
finalinherited
width double?
Optional initial column width; grid defaults are used when omitted.
finalinherited

Methods

applyValueChanged({required FdcDataSet dataSet, required FdcGridRowContext row, required int rowIndex, required int? columnIndex, required String fieldName, required Object? oldValue, required Object? value}) → void
Invokes onValueChanged using this column's concrete generic value type.
inherited
applyValueChanging({required FdcDataSet dataSet, required FdcGridRowContext row, required int rowIndex, required int columnIndex, required String fieldName, required Object? oldValue, required Object? newValue}) FdcFieldValueChangeResult<T>?
Invokes onValueChanging using this column's concrete generic value type.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateBinding(FdcDataSet dataSet) → void
Validates this column's dataset field binding for the grid runtime.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited