0.0.1 • Published 7 years ago

mozaik-ext-avinashi v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

mozaik-ext-table

Mozaik v2 extension to render table data given a filesystem path available to the Mozaik server or a network accessible url.

Setup

  • Installation
npm install --save mozaik-ext-table
  • Sample Usage
  -
    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

Configuration

keyrequireddescription
widgetyesTable - only available widget
titleyesUnless the lame default "Table" works for you
fieldsyesArray of per field column headers to corresponding field value formats
pathno*File system path to table data accessible to the Mozaik server (supports JSON and CSV)
urlno*URL under which JSON data is accessible

* Either path or url must be supplied

Changelog

Release 0.0.1

  • Initial release

License

Module is MIT -licensed

Credit

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.