Export scope: all, filtered, visible or selected rows
Lets the caller choose which rows are exported: every row in the data source, rows that pass the active filters, rows currently rendered or on the current page, or selected rows. Explicit scoping prevents accidental export of data the user did not intend to share.
Planned. This page shows the specification from issue #200. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Grid with 500 rows, pagination of 25 rows per page, a status filter applied and 5 rows selected.
Expected behavior
The preview label shows the row count each scope will export. Exporting produces exactly that many data rows.
Planned API surface
exportOptions.scope'all' | 'filtered' | 'visible' | 'selected'getExportRowCount()Acceptance criteria
- scope:'all' exports every source row regardless of filters or pagination. (pending)
- scope:'filtered' exports all rows that pass filters across all pages. (pending)
- scope:'visible' exports only rows on the current page or in the rendered viewport, as documented. (pending)
- scope:'selected' exports selected rows in grid order, not in selection order. (pending)
- getExportRowCount(scope) returns the same count as the exported data rows. (pending)
- scope:'selected' with no selection exports a header-only file and emits a warning event. (pending)