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. partial$misc/requires_5_9v.adoc
To enable the Advanced 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',
menubar: 'table'
});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.
The following configuration options affect the behavior of the Advanced Tables plugin.
The Advanced Tables plugin provides the following JavaScript commands.
For events applicable to the Advanced Tables plugin, see: Table plugin - Events.


