FdcGridExportButton constructor

const FdcGridExportButton({
  1. String? id,
  2. bool visible = false,
  3. FdcGridItemPlacement placement = FdcGridItemPlacement.start,
  4. List<FdcExportFormat> formats = const <FdcExportFormat>[FdcExportFormat.csv, FdcExportFormat.json, FdcExportFormat.xml],
  5. FdcExportScope scope = FdcExportScope.currentView,
  6. FdcExportValueMode valueMode = FdcExportValueMode.raw,
  7. FdcGridExportColumnMode columnMode = FdcGridExportColumnMode.visibleColumns,
  8. bool includeHeaders = true,
  9. bool includeNonPersistentFields = false,
  10. Map<FdcExportFormat, FdcExportWriterOptions> writerOptions = const <FdcExportFormat, FdcExportWriterOptions>{},
  11. String? label,
  12. String tooltip = defaultTooltip,
  13. 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,
});