Using CSVToTable is as simple as attaching your CSV file as a Resource in RapidWeaver, and linking to this new file from the CSVToTable settings. CSVToTable does all the complicated and repetitive coding for you.
Completed tables use standard HTML markup and are compatible with all web browsers and devices. If the table is too wide, horizontal scroll bars are applied.
Completed tables use standard HTML markup and are compatible with all web browsers and devices. If the table is too wide, horizontal scroll bars are applied.
Example
This example uses the default stack settings and a sample CSV file that was added as a resource in RapidWeaver, to display data from a weather station.Setup
CSVToTable works much the same as any other stack.- Start by adding a suitable CSV file as a Resource in RapidWeaver.
- Drag and drop a copy of CSVToTable from the Stacks Library into your webpage.
- With CSVToTable selected in edit mode, open the Stacks side panel.
- Set the link to the CSV file you just added as a Resource.
- Preview the webpage to see the generated table.
- You can adjust any further colour or style settings as required.