Actual widget output
For any page

Add a Download CSV button that saves a table on the page as a spreadsheet file.

Each example below is the actual published output of the Public table CSV export widget, pointed at the sample tables further down this page by their CSS IDs. Press a button to download the table.

Default settings, with the CSS ID of the price table below: a “Download CSV” button that saves it as table.csv.

Section #price-table

Price list

A sample table with a quoted note, a comma and a cell that starts with = (saved with an apostrophe so spreadsheets do not run it).

ItemPriceNotes
Enamel mug£12.00Dishwasher safe, “white”
Copper kettle£48.50Sold out
Linen apron£22.00=Back in May
Section #opening-hours

Opening hours

A second sample table for the tab-separated example.

DayOpensCloses
Monday to Friday9:0017:30
Saturday10:0016:00
SundayClosed