bootstack.events.ExportEvent#

class bootstack.events.ExportEvent(count=0, target='', format='', path=None, records=<factory>)#

Bases: object

Fires after the table’s data is exported (copied or saved).

count: int#

The number of rows exported.

format: str#

The format written — 'csv', 'tsv', or 'xlsx'.

path: str | None#

The destination file path when target is 'file', else None.

records: list[dict[str, Any]]#

The exported records. Populated for in-memory targets (clipboard); empty for streamed file exports, which never materialize all rows.

target: str#

Where the data went — 'clipboard' or 'file'.