View as Markdown

API reference: @salmonui/data-grid/engine/export

ExportScopetype

import type { ExportScope } from '@salmonui/data-grid/engine/export';
type ExportScope = 'filtered' | 'page' | 'selected' | 'all';

Which rows an export covers:

  • filtered (default, AllPages): every page of the current query (search, filter, sort, grouping applied).
  • page (CurrentPage): the rows of the current page as the grid shows them.
  • selected: the selected rows, in view order (ungrouped).
  • all: every source row in source order, ignoring the query.