FdcGridExportButton constructor
const
FdcGridExportButton({
- String? id,
- bool visible = false,
- FdcGridItemPlacement placement = FdcGridItemPlacement.start,
- List<
FdcExportFormat> formats = const <FdcExportFormat>[FdcExportFormat.csv, FdcExportFormat.json, FdcExportFormat.xml], - FdcExportScope scope = FdcExportScope.currentView,
- FdcExportValueMode valueMode = FdcExportValueMode.raw,
- FdcGridExportColumnMode columnMode = FdcGridExportColumnMode.visibleColumns,
- bool includeHeaders = true,
- bool includeNonPersistentFields = false,
- Map<
FdcExportFormat, FdcExportWriterOptions> writerOptions = const <FdcExportFormat, FdcExportWriterOptions>{}, - String? label,
- String tooltip = defaultTooltip,
- FdcGridExportCompleted? onExport,
Creates a FdcGridExportButton.
Implementation
const FdcGridExportButton({
super.id,
super.visible = false,
super.placement = FdcGridItemPlacement.start,
this.formats = const <FdcExportFormat>[
FdcExportFormat.csv,
FdcExportFormat.json,
FdcExportFormat.xml,
],
this.scope = FdcExportScope.currentView,
this.valueMode = FdcExportValueMode.raw,
this.columnMode = FdcGridExportColumnMode.visibleColumns,
this.includeHeaders = true,
this.includeNonPersistentFields = false,
this.writerOptions = const <FdcExportFormat, FdcExportWriterOptions>{},
this.label,
this.tooltip = defaultTooltip,
this.onExport,
});