HelixOverviewComponentsMapsGraphIntroductionInstallationDeriving a themeSandboxTheme builderVisual testingCortexDocsEngramActiveTraceActiveRecallActiveServicesInsightsGet in touchSource on GitHub
Loading the reference
Table ExportView sourceEdit in SandboxView MarkdownCopy MarkdownOpen in ClaudeOpen in CursorA panel that exports a Data Table's rows: which rows, which columns, which values, and the format.ExperimentalSince 0.238.0DataUsageimport'@fusion.dev/helix/table-export'import'@fusion.dev/helix-headless/table-export'Preview
API referenceRoothelix-table-exportA panel that exports a Data Table's rows: which rows, which columns, which values, and the format.
PropTypeDescriptionallColumnsLabelstringDefault"All ({count})"The words for every column. {count} is how many there are.allRowsLabelstringDefault"All ({count})"The words for every row. {count} is how many there are.columnsLabelstringDefault"Columns"The name of the group that chooses the columns.copiedLabelstringDefault"{count, plural, one {# row copied} other {# rows copied}}"What a screen reader hears once the rows are copied. {count} is how many.copyLabelstringDefault"Copy"The words on the button that copies the rows.exportLabelstringDefault"{count, plural, one {Export # row} other {Export # rows}}"The words on the button that saves the file. {count} is how many rows it holds.filteredRowsLabelstringDefault"Filtered ({count})"The words for the rows the search and the filters leave. {count} is how many.forstringDefault""The id of the DataTable the panel exports, in the same document or shadow root.formatLabelstringDefault"Format"The name of the group that chooses the format.rawLabelstringDefault"Raw"The words for the values as the rows hold them.rowsLabelstringDefault"Rows"The name of the group that chooses the rows.selectedRowsLabelstringDefault"Selected ({count})"The words for the selected rows. {count} is how many.shownLabelstringDefault"As shown"The words for the values as the cells show them.valuesLabelstringDefault"Values"The name of the group that chooses the values.visibleColumnsLabelstringDefault"Visible ({count})"The words for the columns showing. {count} is how many.
ReadTypeDescriptionoptionsExportChoicesThe choices as they stand: the selected rows where some are, and the filtered ones otherwise.tableToolTable|nullThe bound table, once it is in the tree.whenSettledPromise<void>Resolves a frame after the first update, when transitions are switched on.
MethodTypeDescriptioncopy() => Promise<boolean>Copies the rows as TSV, as Copy does.export() => booleanSaves the file, as Export does.
PartDescriptionactionsThe row that holds Copy and Export.choiceOne choice: its input and its words.choice-checkedAdded to choice while it is chosen.choice-inputThe radio input of a choice.columnsThe group that chooses the columns.copyThe button that copies the rows.copy-buttonForwarded from the button: the button inside copy.copy-liveForwarded from the button. Not shown in the panel, whose buttons do not load.copy-spinnerForwarded from the button. Not shown in the panel, whose buttons do not load.copy-textForwarded from the button: the words inside copy.exportThe button that saves the file.export-buttonForwarded from the button: the button inside export.export-liveForwarded from the button. Not shown in the panel, whose buttons do not load.export-spinnerForwarded from the button. Not shown in the panel, whose buttons do not load.export-textForwarded from the button: the words inside export.formatThe group that chooses the format.legendA group's name.liveThe region that says the rows were copied. Visually hidden in the styled tier.optionsThe choices of a group, after its name.rowsThe group that chooses the rows.valuesThe group that chooses the values.
CSS PropertyDescription--table-export-gapThe space between the groups.--table-export-segment-background-colorThe fill of the track a segmented group sits in.
Custom stateDescriptionsettledSet one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
Roothelix-headless-table-exportA panel that exports a Data Table's rows: which rows, which columns, which values, and the format.
PropTypeDescriptionallColumnsLabelstringDefault"All ({count})"The words for every column. {count} is how many there are.allRowsLabelstringDefault"All ({count})"The words for every row. {count} is how many there are.columnsLabelstringDefault"Columns"The name of the group that chooses the columns.copiedLabelstringDefault"{count, plural, one {# row copied} other {# rows copied}}"What a screen reader hears once the rows are copied. {count} is how many.copyLabelstringDefault"Copy"The words on the button that copies the rows.exportLabelstringDefault"{count, plural, one {Export # row} other {Export # rows}}"The words on the button that saves the file. {count} is how many rows it holds.filteredRowsLabelstringDefault"Filtered ({count})"The words for the rows the search and the filters leave. {count} is how many.forstringDefault""The id of the DataTable the panel exports, in the same document or shadow root.formatLabelstringDefault"Format"The name of the group that chooses the format.rawLabelstringDefault"Raw"The words for the values as the rows hold them.rowsLabelstringDefault"Rows"The name of the group that chooses the rows.selectedRowsLabelstringDefault"Selected ({count})"The words for the selected rows. {count} is how many.shownLabelstringDefault"As shown"The words for the values as the cells show them.valuesLabelstringDefault"Values"The name of the group that chooses the values.visibleColumnsLabelstringDefault"Visible ({count})"The words for the columns showing. {count} is how many.
ReadTypeDescriptionoptionsExportChoicesThe choices as they stand: the selected rows where some are, and the filtered ones otherwise.tableToolTable|nullThe bound table, once it is in the tree.whenSettledPromise<void>Resolves a frame after the first update, when transitions are switched on.
MethodTypeDescriptioncopy() => Promise<boolean>Copies the rows as TSV, as Copy does.export() => booleanSaves the file, as Export does.
PartDescriptionactionsThe row that holds Copy and Export.choiceOne choice: its input and its words.choice-checkedAdded to choice while it is chosen.choice-inputThe radio input of a choice.columnsThe group that chooses the columns.copyThe button that copies the rows.copy-buttonForwarded from the button: the button inside copy.copy-liveForwarded from the button. Not shown in the panel, whose buttons do not load.copy-spinnerForwarded from the button. Not shown in the panel, whose buttons do not load.copy-textForwarded from the button: the words inside copy.exportThe button that saves the file.export-buttonForwarded from the button: the button inside export.export-liveForwarded from the button. Not shown in the panel, whose buttons do not load.export-spinnerForwarded from the button. Not shown in the panel, whose buttons do not load.export-textForwarded from the button: the words inside export.formatThe group that chooses the format.legendA group's name.liveThe region that says the rows were copied. Visually hidden in the styled tier.optionsThe choices of a group, after its name.rowsThe group that chooses the rows.valuesThe group that chooses the values.
Custom stateDescriptionsettledSet one frame after the first render. Transitions wait for it, so an element does not animate its own arrival.
Examples
NameDescriptionPreviewA panel that exports an invoice table: the filtered rows, the visible columns, the values as shown, as CSV.PreviewA panel that exports an invoice table: the filtered rows, the visible columns, the values as shown, as CSV.