Skip to content

Conversation

@Barracudapi
Copy link

This update introduces the ability to export table data in multiple formats: XML, Markdown (MD), and TSV. The following changes were made:

  • XML Export: Added support for exporting data in XML format, where table headers and records are represented in standard XML tags.
  • Markdown (MD) Export: Added the option to export data as a Markdown table. This allows users to easily generate tables for use in documentation or README files.
  • TSV Export: Added support for exporting table data in Tab-Separated Values (TSV) format, which can be easily opened and manipulated in spreadsheet software.

This update improves the overall export functionality and provides users with more options to download and share data.

This update introduces the ability to export table data in multiple formats: XML, Markdown (MD), and TSV. The following changes were made:

- **XML Export**: Added support for exporting data in XML format, where table headers and records are represented in standard XML tags.
- **Markdown (MD) Export**: Added the option to export data as a Markdown table. This allows users to easily generate tables for use in documentation or README files.
- **TSV Export**: Added support for exporting table data in Tab-Separated Values (TSV) format, which can be easily opened and manipulated in spreadsheet software.

This update improves the overall export functionality and provides users with more options to download and share data.
@invisal invisal requested a review from keppere April 28, 2025 01:09
@invisal
Copy link
Collaborator

invisal commented Apr 30, 2025

@Barracudapi Thanks so much. I would be nice if you can help resolve conflict.

@Barracudapi
Copy link
Author

Small conflicts only. They have been resolved!

),
xml: () => exportRowsToXml(headers, records, exportTarget),
md: () => exportToMarkdown(headers, records, exportTarget),
tsv: () => exportToTSV(headers, records, exportTarget),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tsv: () => exportDataAsDelimitedText( headers, records, "\t", "\n", '"', exportTarget, exportOptions?.nullValue || "NULL" ),

  • You can use function exportDataAsDelimitedText to export as tsv, we just need to put the right separators.
  • It also seems consistent to display TSV separators in our UI.

options?.encloser || '"',
exportTarget
),
xml: () => exportRowsToXml(headers, records, exportTarget),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have users who want to transform null values into specific values. Please add support for this in the new export format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants