Expand all

ve.ce.MWTableNode

Extends

Constructor

new ve.ce.MWTableNode(model, [config]) #

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

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.

Source:

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).

Source:
Update sortable headers (if the table is sortable).