FdcIntegerColumn<T> class
Grid column for integer fields with numeric editing and display affixes.
The column binds to an FdcIntegerField, uses the integer editor, and can
optionally reject negative input. prefixText and suffixText affect
display only and never participate in parsing, filtering, sorting, or
aggregate calculations.
- Inheritance
-
- Object
- FdcGridColumn<
T> - FdcIntegerColumn
Constructors
-
FdcIntegerColumn({required String fieldName, String? id, String? groupId, 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, FdcGridLookup<T> ? onLookup, IconData lookupIcon = Icons.more_horiz, FdcKeyboardShortcut? lookupShortcut = FdcKeyboardShortcut.f4, FdcColumnValueChanged<T> ? onValueChanged, FdcGridCellStyle? cellStyle, FdcGridColumnPin pin = FdcGridColumnPin.none, FdcColumnSummary summary = const FdcColumnSummary(), bool allowNegative = true, String? prefixText, String? suffixText}) -
Creates a FdcIntegerColumn.
const
Properties
- allowNegative → bool
-
Whether the editor accepts negative values.
final
- 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
- dataType → FdcDataType
-
Dataset value type represented by this column.
no setteroverride
- 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
- 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
- pin → FdcGridColumnPin
-
Initial horizontal pinning mode for this column.
finalinherited
- prefixText → String?
-
Text displayed before the formatted integer value in read-only grid cells.
final
- 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
- showIndicator → bool
-
Controls whether this column renders the active-cell indicator overlay.
finalinherited
- suffixText → String?
-
Text displayed after the formatted integer value in read-only grid cells.
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.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited