Widget:DisplayTable
From WikiEducator
This widget allows the AJAX inclusion of a table with a specified ID
from a particular page. Individual columns and rows can be displayed,
while the others are hidden.
Parameters
- page
- the name of the page in the wiki containing the original table
- tableid
- the HTML id of the table
- columns
- a semicolon separated list of columns to be shown
- if parameter is numeric, it is used as 1 indexed column number
- otherwise, it is used as a case insensitive substring, and the first column heading that it matches wins
- rows
- a semicolon separated list of conditions which will cause a row to be shown, currently the only condition implemented is columnNumber~substring
- minheight
- the minimum height of the table display, including CSS units, such as 120px or 10ex. Setting this to the approximate table size minimizes the perceived redrawing when the table is inserted on the page. You can use a browser's developer tools inspect feature to estimate the size. (optional, default: 100px)