Contents [show] |
Table Sorting
Also from: SORTTABLE
The Sorttable variable enables table sorting on this page. If the user clicks in a column of the first row of the table, the table is sorted by that column.
Syntax
The SORTTABLE variable can be placed anywhere on the page.
Example
- Wiki Text -
|Some Data |More Data | |Cats |102 | |Dogs |2 |
- Formatted Text -
Some Data | More Data |
Cats | 102 |
Dogs | 2 |
Details
Table sorting is useful when tables are large or when they contain ordered data across multiple columns. When the SORTTABLE variable is used, it applies to all tables on the current page. To sort data by a particular column, click on the first row in the column. The first row is always treated as a header row.
See also
Categories: Help | Syntax | Variables