DesignOverviewDesign SystemMapsGraphIntroductionInstallationDeriving a themeSandboxTheme builderVisual testingAgentsCortexMemoryActiveProvenanceActiveContextActiveServicesInsightsGet 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.Also called Download and Export dialog.ExperimentalSince 0.238.0DataImportimport'@fusion.dev/helix/table-export'import'@fusion.dev/helix-headless/table-export'Preview
GuidelinesWhen to use
A file or a copy of a Data Table's rows, in the columns and format you pick.Table ExportThis page
Put Table Export in a Popover or a Dialog opened by an Export button.The panel is the content, and it draws no trigger of its own.
Anatomy
1::part(rows)The Radio Group that chooses the rows.
2::part(columns)The Radio Group that chooses the columns.
3::part(values)The Radio Group that chooses the values.
4::part(format)The Radio Group that chooses the format.
5::part(actions)The row that holds Copy and Export.
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, a Radio.choice-boxThe circle of a choice's Radio.choice-checkedAdded to choice while it is chosen.choice-itemThe button of a choice's Radio, which covers it.choice-labelThe words of a choice's Radio.columnsThe Radio Group that chooses the columns.columns-feedbackForwarded from the radio group. Not shown, since a choice of columns is never wrong.columns-hintForwarded from the radio group. Not shown, since the columns have no help.columns-itemsThe column choices inside columns.columns-labelThe name of 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 Radio Group that chooses the format.format-feedbackForwarded from the radio group. Not shown, since a choice of format is never wrong.format-hintForwarded from the radio group. Not shown, since the format has no help.format-itemsThe format choices inside format.format-labelThe name of format.liveThe region that says the rows were copied. Visually hidden in the styled tier.rowsThe Radio Group that chooses the rows.rows-feedbackForwarded from the radio group. Not shown, since a choice of rows is never wrong.rows-hintForwarded from the radio group. Not shown, since the rows have no help.rows-itemsThe row choices inside rows.rows-labelThe name of rows.valuesThe Radio Group that chooses the values.values-feedbackForwarded from the radio group. Not shown, since a choice of values is never wrong.values-hintForwarded from the radio group. Not shown, since the values have no help.values-itemsThe value choices inside values.values-labelThe name of 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, a Radio.choice-boxThe circle of a choice's Radio.choice-checkedAdded to choice while it is chosen.choice-itemThe button of a choice's Radio, which covers it.choice-labelThe words of a choice's Radio.columnsThe Radio Group that chooses the columns.columns-feedbackForwarded from the radio group. Not shown, since a choice of columns is never wrong.columns-hintForwarded from the radio group. Not shown, since the columns have no help.columns-itemsThe column choices inside columns.columns-labelThe name of 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 Radio Group that chooses the format.format-feedbackForwarded from the radio group. Not shown, since a choice of format is never wrong.format-hintForwarded from the radio group. Not shown, since the format has no help.format-itemsThe format choices inside format.format-labelThe name of format.liveThe region that says the rows were copied. Visually hidden in the styled tier.rowsThe Radio Group that chooses the rows.rows-feedbackForwarded from the radio group. Not shown, since a choice of rows is never wrong.rows-hintForwarded from the radio group. Not shown, since the rows have no help.rows-itemsThe row choices inside rows.rows-labelThe name of rows.valuesThe Radio Group that chooses the values.values-feedbackForwarded from the radio group. Not shown, since a choice of values is never wrong.values-hintForwarded from the radio group. Not shown, since the values have no help.values-itemsThe value choices inside values.values-labelThe name of 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.