🎈 Welcome to the Marketplace — Explore and discover the ecosystem around DatoCMS, and share your own work with the community!

Advanced Table Editor

A table editor that includes boolean and rich text editable cells

This is a Community Plugin! Learn how create your own plugin, or copy and remix existing ones in our documentation

Dato CMS Feature Table Plugin

Built on top of a community table plugin to accommodate different table styles.

Each cell has the option to be either a rich text or checkbox field. However, the first column will always be set to rich text unless a column header is entered.

A row can optionally be collapsible by selecting "Make row collapsible" in the row's dropdown settings. This will add the row's index to the collapsibleRows JSON field.

Column headers can be hidden by clicking "Hide column headers button". This will change the hasColumnHeaders JSON field to false. However, the JSON output will still include column names as that is how the data is organized.

Usage:

Use this plugin as the presentation in any JSON field.

Output

1
{
2
"collapsibleRows": [],
3
"hasColumnHeaders": true,
4
"columns": ["", "Col 1", "Col 2"],
5
"data": [
6
{
7
"": { "heading": "Row 1", "content": "" },
8
"Col 1": {
9
"heading": "Sample Rich Text Heading",
10
"content": "Sample Rich Text Content"
11
},
12
"Col 2": { "heading": "Sample Rich Text Heading", "content": "" }
13
},
14
{
15
"": { "heading": "Row 2", "content": "" },
16
"Col 1": false,
17
"Col 2": true
18
}
19
]
20
}
Subscribe to our newsletter! 📥
One update per month. All the latest news and sneak peeks directly in your inbox.
support@datocms.com ©2024 Dato srl, all rights reserved P.IVA 06969620480