|
CORE
NATIVE
TABLE
MAKE
CUSTOMIZE
EFFECTS
effects_base.js
effects_morph.js
effects_fade.js
effects_move.js
effects_extra.js
effects_toggle.js
effects_cycle.js
effects_cycles.js
VIRTUAL BOX
PLUG-IN
|
make_table.js
Contains the Make.Table Class, the Array.makeTable method and the make_table function to easily create tables from arrays of arrays Contains Class Make.Table, Array.makeTable, Function make_table Requires Summary
Allows you to create tables from arrays of arrays. Note Each item of the external array is a row of the table.Each item of inner arrays is a cell of the table.If you want to set the styles and the properties of a row, you can pass an object with 'styles' and 'properties' as properties. Extends Class Make Constructor new Make.Table (id, rows, options) Properties
Options
Methods
top method make makes a table from an array of elements. Returns the table
Example // create the rows var items = [ ['a', 'b', 'c'], ['d', 'e', 'f'] ]; // returns the table var madetable = new Make.Table('madetable', items).make(); // injects the table in the page madetable.injectInside($('box')); // this is the table created by Make.Table <table id='makedtable'> <tr> <td> a </td> <td> b </td> <td> c </td> </tr> <tr> <td> d </td> <td> e </td> <td> f </td> </tr> </table> Contains the makeTable method
Extends Class Array Methods
top method makeTable Array method to make table from an array of elements. Returns the table
Arguments
Example // create the rows var items = [ ['a', 'b', 'c'], ['d', 'e', 'f'] ]; // returns the table var madetable = items.makeTable('madetable'); top function make_table Creates tables like Make.Table Class but as a function
Arguments
Example // create the rows var items = [ ['a', 'b', 'c'], ['d', 'e', 'f'] ]; // returns the table var madetable = make_table('madetable', items);
Documentation By
Riccardo Degni -
powered by MakeDocs, CMS by RD |