# Table from CSV Renders an interactive data grid from a CSV file attached to the page - no table in the body. For data that arrives as a file rather than as something you would hand-type: an export from a reporting tool, a price list, a survey dump. Attach the CSV to the page (or upload it straight from the macro's config panel) and the macro parses it in the reader's browser into the same grid the Table macro produces, with the same display, header-colour and charting settings. Updating the numbers means replacing the attachment - the page itself does not change. It is the same code and the same configuration as the Table macro, differing only in where the rows come from. --- ## See it Every example below is a real macro on this page, not a screenshot, and each one is a configuration taken from a page somebody actually built. Open this page in the editor to see how any of them is set up. ### 14px Tables from CSV are not available on published sites. The file is rendered into an interactive data grid that published sites do not ship. --- ## Settings | **Setting** | **Values** | **What it changes** | | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | CSV file | Any \`.csv\` attachment on the page. A file input in the panel uploads a new one (as a draft attachment) and selects it. Only files whose title ends in \`.csv\` are listed. | Sets attachmentFileId, attachmentContentId and attachmentFileName together. Once selected the panel reports " columns ยท rows detected." Uploading is only offered while editing a page. | | Page size / Font size / Minimum height / Auto-size columns / Header colours / chart toggle and Placement / Legacy sort | Identical to the Table macro - see that entry for the full list of values and defaults. | Same behaviour. The two macros share the same options and the same configuration screen; only where the data comes from differs. | --- ## Related [CodeA read-only code block with syntax highlighting, optional line numbers, a copy button and a cho](https://help.gocapable.com/macros/code.html) [LaTeX mathRenders a block mathematical equation written in LaTeX, centred on its own line in the page.](https://help.gocapable.com/macros/latex-math.html) [Technical and dataThe rest of this family.](https://help.gocapable.com/macros/technical-and-data.html) --- _The largest family, and the most precise._