azorko / TableWidget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table Widget

-Creates a table from a JSON object

-Instantiation: var tableWidget = new Table.Widget(el, document, jsonObj, headers, options);

-el is div to attach the table to, document is a reference to DOM, headers is an array of the table header strings, options is an object that can include an optional table title key - val pair

-Include both table.css and table.js files in your file directory

-Includes demo of how to use in html file

About


Languages

Language:JavaScript 66.6%Language:HTML 20.9%Language:CSS 12.5%