Mozaik v2 extension to render table data given a filesystem path available to the Mozaik server or a network accessible url.
npm install --save mozaik-ext-table
-
extension: table
widget: Table
title: Ongoing Projects
fields:
-
Project: '{project}'
-
Lead: '{lead}'
-
Developers: '{devs}'
-
QA: '{tester}'
path: data/ongoing-projects.json
columns: 3
rows: 2
x: 1
y: 1
key | required | description |
---|---|---|
widget |
yes | Table - only available widget |
title |
yes | Unless the lame default "Table" works for you |
fields |
yes | Array of per field column headers to corresponding field value formats |
path |
no* | File system path to table data accessible to the Mozaik server (supports JSON and CSV) |
url |
no* | URL under which JSON data is accessible |
* Either path
or url
must be supplied
Module is MIT -licensed
The repo initially started as a fork of mozaik-ext-sheets. The initial release was updated to work with custom JSON or CSV data as part of Mozaik 2.