`. Those objects may contain a
`children` property containing a similarly structured array to indicate the
nested cells should be grouped under the parent column's colspan in a separate
row of header cells. E.g.
new Y.DataTable.HeaderView({
container: tableNode,
columns: [
{ key: 'id' }, // no nesting
{ key: 'name', children: [
{ key: 'firstName', label: 'First' },
{ key: 'lastName', label: 'Last' } ] }
]
}).render();
This would translate to the following visualization:
---------------------
| | name |
| |---------------
| id | First | Last |
---------------------
Supported properties of the column objects include:
* `label` - The HTML content of the header cell.
* `key` - If `label` is not specified, the `key` is used for content.
* `children` - Array of columns to appear below this column in the next
row.
* `headerTemplate` - Overrides the instance's `CELL_TEMPLATE` for cells in this
column only.
* `abbr` - The content of the 'abbr' attribute of the ` |