This is an experimental version of JQTablePlugin.
To configure your Foswiki to install from this repository, modify the
{ExtensionsRepositories}
setting in your
lib/LocalSite.cfg
like this:
$Foswiki::cfg{ExtensionsRepositories} = 'Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/);Local=(http://365847.689093.cn/Extensions/Testing/,http://365847.689093.cn/pub/Extensions/Testing/)';
Read more about configuring Extension repositories
JQTablePlugin
Javascript implementation of the classic
TablePlugin, using JQuery
This plugin does two things:
- If TablePlugin is enabled, it enhances TablePlugin with client-side column sorting (if Javascript is enabled)
- If TablePlugin is not enabled, it performs the same processing as TablePlugin except it does it in the browser.
Some notable omissions:
- Sorting doesn't work correctly if you have multiple header rows
when used without TablePlugin
- No sort icon in table headers (just click the header to sort).
- Sorting can be a bit strange when rowspans and colspans are used.
- The sorted data background doesn't alternate if more than one colour is given.
- The way column and row spans are calculated is slightly different to TablePlugin, which may give slightly different visual effect sin some extreme cases.
when used with TablePlugin:
- Sorted column background doesn't work
You can help improve it, please feel free to do so.
Sorting is done using the jQuery tablesorter plugin written by Christian Bach,
which is included.
Usage
If used with TablePlugin: Click on column headers to sort.
If used without TablePlugin: Behaviour should be identical to TablePlugin.
See
TablePlugin for more information.
Installation Instructions
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See
http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Info
Another great Foswiki extension from the
WikiRing - working together to improve your wiki experience!