Extends
Constructor
new ve.ce.MWTableNode(model, [config])
#
Hierarchy
ContentEditable MW table node.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
model |
ve.dm.MWTableNode | Model to observe |
|
config |
Object |
optional |
Configuration options |
- Mixes in:
- Source:
ContentEditable MW table node.
Methods
destroy()
#
getTablesorterHeaderCells() → {Array.<ve.dm.TableCellNode>}private
#
Find the last of header rows with maximum number of cells (minimum number of colspans) and return all of its cells. These are the cells that serve as sortable headers in jQuery Tablesorter. This algorithm is exactly the same, see the buildHeaders() function in jquery.tablesorter.js.
Returns:
- Type
- Array.<ve.dm.TableCellNode>
Find the last of header rows with maximum number of cells (minimum number of colspans) and return all of its cells.
updateSortableHeaders()private
#
Update sortable headers (if the table is sortable).
Update sortable headers (if the table is sortable).