FdcGridColumn<T> constructor

const FdcGridColumn<T>({
  1. String? id,
  2. String? groupId,
  3. required String fieldName,
  4. String? label,
  5. String? hint,
  6. bool visible = true,
  7. bool exportable = true,
  8. bool enabled = true,
  9. bool readOnly = false,
  10. int? focusOrder,
  11. bool tabStop = true,
  12. double? width,
  13. double minWidth = 0,
  14. double maxWidth = 0,
  15. FdcGridColumnAutoSizeMode autoSizeMode = FdcGridColumnAutoSizeMode.none,
  16. bool allowSort = true,
  17. FdcColumnFilterConfig? filterConfig,
  18. bool allowResize = true,
  19. FdcGridHorizontalAlignment? horizontalAlignment,
  20. bool showIndicator = true,
  21. FdcColumnValueChanging<T>? onValueChanging,
  22. FdcGridLookup<T>? onLookup,
  23. IconData lookupIcon = Icons.more_horiz,
  24. FdcKeyboardShortcut? lookupShortcut = FdcKeyboardShortcut.f4,
  25. FdcColumnValueChanged<T>? onValueChanged,
  26. FdcGridCellStyle? cellStyle,
  27. FdcGridColumnPin pin = FdcGridColumnPin.none,
  28. FdcColumnSummary summary = const FdcColumnSummary(),
  29. FdcGridMenuBuilder? menuBuilder,
})

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,
});