Badgerati / Pode.Web

Web template framework for use with the Pode PowerShell web server
MIT License
191 stars 25 forks source link

Add Export to Excel and Export to Tab Seperated Value Options to Table Export #627

Open jbaechtelMT opened 10 months ago

jbaechtelMT commented 10 months ago

Describe the Change

Currently exporting data from a Table exports the data in CSV format. Description field data in our Active Directory tables (both User & Groups) contain commas; single; and double quotes. When this data is exported to CSV format, the commas causes the data to shift data into columns to the right. Thus mis-aligning the data. Our user's data also contains single & double quotes which makes it impossible to put quotes around the data prior to exporting.

If there was an Export to Tab Separated Value or Export to Excel (or Open Office) options, then this would solve the issue of mis-aligned data when the data contains commas; single; and double quotes.

Badgerati commented 10 months ago

Hi @jbaechtelMT,

Was this meant to be raised over at Pode.Web instead? There's also the option to add custom buttons for custom export options as well here: https://badgerati.github.io/Pode.Web/Tutorials/Elements/Table/#buttons 😃