The advtable plugin is a premium plugin that extends the core table plugin by adding the following advanced functionality:
-
Sort options for rows and columns.
-
Row numbering column for tables.
To enable the Enhanced Tables plugin, add advtable to the list of plugins. For example:
tinymce.init({
selector: 'textarea', // change this value according to your HTML
plugins: 'table advtable',
});Tables can be sorted by row or column values using:
-
The Sort options in the Table menu.
-
The Sort options in the Table contextual menu.
-
The Sort options in the Table toolbar menu button.
For example:
| Sort rows based on the selected column | Advanced Sort Dialog |
|---|---|
The plugin is capable of sorting:
-
Numerical data
-
Text data
|
Note
|
Currently, the sort function will treat cells with Alphanumeric data as Text data. This includes currency symbols which are text characters. |
A row numbering column containing a series of values can be added to a table to help identify rows in a table. To allow row numbering on tables, the advtablerownumbering toolbar button and menu item can be used.
A numeric and alpha value series are available by default. The available value series can be configured using the advtable_value_series option.
A commonly desired customization of the row-numbering column is that a table’s header and footer rows not be included in the numbering.
This can be done using the advtable_value_series option to specify a custom generator.
The following configuration options affect the behavior of the Enhanced Tables plugin.
The Enhanced Tables plugin provides the following {productname} commands.


