FdcGridColumn<T> constructor
const
FdcGridColumn<T> ({
- String? id,
- String? groupId,
- required String fieldName,
- 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(),
Creates a FdcGridColumn.
Implementation
const FdcGridColumn({
this.id,
this.groupId,
required this.fieldName,
this.label,
this.hint,
this.visible = true,
this.exportable = true,
this.enabled = true,
this.readOnly = false,
this.focusOrder,
this.tabStop = true,
this.width,
this.minWidth = 0,
this.maxWidth = 0,
this.autoSizeMode = FdcGridColumnAutoSizeMode.none,
this.allowSort = true,
this.filterConfig,
this.allowResize = true,
this.horizontalAlignment,
this.showIndicator = true,
this.onValueChanging,
this.onLookup,
this.lookupIcon = Icons.more_horiz,
this.lookupShortcut = FdcKeyboardShortcut.f4,
this.onValueChanged,
this.cellStyle,
this.pin = FdcGridColumnPin.none,
this.summary = const FdcColumnSummary(),
this.menuBuilder,
});