[intro]     [up]

Class JavaScripTableCellContainer


Contains zero or more cells, and is used by the JavaScripTable to render additional header and footer. Arbitrary cell attributes may be passed on the cell with the options object.

Example
//Assume the table is a valid instance
var table;

//Add a header row
var header = table.addHeader();
header.add("HeaderText1", {colspan: 3, class: "MyClass"})
header.add("HeaderText2")

//Add a footer with inline parameters
table.addFooter({text: "Footer1", colspan: 3}, {text: "Footer2", class: "MyFooterClass"});


Constructor Arguments
Name Type Default Description
Objects Object...   Arbitrary number of arguments, containing objects that should have a property called 'text' and other arbitrary properties that will be rendered as cell attributes

Properties
Objects Arbitrary number of arguments, containing objects that should have a property called 'text' and other arbitrary properties that will be rendered as cell attributes

Methods
Cell manipulation methods
add Adds a cell



Properties
Objects
Arbitrary number of arguments, containing objects that should have a property called 'text' and other arbitrary properties that will be rendered as cell attributes





Methods
Cell manipulation methods
Methods used to manipulate cells
 
add
Adds a cell
Arguments
Name Type Default Description
text String   The text that will be rendered on the cell
options Object null An object containing arbitrary properties that will be rendered as cell attributes