Advanced grid control.
Creates a grid as a child of element. If autoNumber is true, than the Grid will automatically add first, auto-numbered column.
Adds a row. If index is present, it specifies at which index new row should be inserted. Data is an array of either values or objects. If objects are used, they should contain:
Creates a header row. Data is an array of either values or objects. If objects are used, they should contain:
Adds a new header cell. If index is present, it specifies at which index new cell should be inserted.
Data are in same format as in createHeader
.
Converts existing table into grid.
Adds one cell to one row. If index is present, it specifies at which index new cell should be inserted.
Data are in same format as in createRow
. This method should be called as grid.rows[i].addCell()
.
Removes one column from grid.