Gives extra control off table display:
Plugin settings are stored as preferences variables. To reference
a plugin setting write %<plugin>_<setting>%
, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
data/debug.txt
. Default: 0
Click on column heading text to sort by a column. Initial column will be sorted in descending order, click again to get ascending order. The type of data in the cell is determined automatically:
On line before the table use %TABLE{...}%
:
Argument | Comment | Example |
---|---|---|
sort | Set on or off | sort="on" |
headerbg | Header cell background colour | headerbg="#99CCCC" |
databg | Data cell background colour, a comma seperated list | databg="#C8CB8F,#DBDDB5" |
tableborder | Table border width (pixels) | tableborder="2" |
cellpadding | Cell padding (pixels) | cellpadding="0" |
cellspacing | Cell spacing (pixels) | cellspacing="3" |
All default to the global setting
Line before table: %TABLE{sort="on" tableborder="0" cellpadding="3" cellspacing="1" headerbg="#99CCCC" databg="#C8CB8F,#DBDDB5"}%
Num | Status | Action | Who | When | Progress |
---|---|---|---|---|---|
1 | C | Chose new colours | John | 1-Dec-02 | |
2 | X | Release | John | 1-Apr-02 | |
3 | Get feedback | Anne | 1-Feb-02 | ||
12 | C | Spec error handling | Jack | 1-Dec-02 | |
5 | Abc | John |
TablePlugin.zip
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/TablePlugin.txt | Plugin topic |
data/TWiki/TablePlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/TablePlugin.pm | Plugin Perl module |
pub/TWiki/TablePlugin/diamond.gif | Diamond symbol |
pub/TWiki/TablePlugin/down.gif | Down arrow |
pub/TWiki/TablePlugin/up.gif | Up arrow |
Plugin Author: | JohnTalintyre? |
Plugin Version: | 29 Nov 2001 |
Change History: | 29 Nov 2001: PTh fixed Perl warnings 16 Nov 2001: PTh added table border, cell spacing, cell padding, gif files 07 Oct 2001: Initial version |
CPAN Dependencies: | |
Other Dependencies: | |
Perl Version: | 5.0 |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/TablePlugin |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/TablePluginDev |
Related Topics: TWikiPreferences, TWikiPlugins
-- JohnTalintyre? - 07 Oct 2001
-- PeterThoeny - 16 Nov 2001