Daya Bay Reactor Neutrino Experiment
TWiki > TablePlugin (1 vs. 36)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic TablePlugin (36 - 2014-01-21 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (35 - 2013-09-26 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (34 - 2013-01-29 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (33 - 2012-11-15 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (32 - 2012-09-08 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (31 - 2011-07-28 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (30 - 2010-11-05 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (29 - 2010-05-17 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (28 - 2007-10-07 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (27 - 2007-10-07 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (26 - 2007-10-07 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (25 - 2005-03-27 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (24 - 2005-03-27 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (23 - 2005-03-27 - TWikiContributor)

 <<O>>  Difference Topic TablePlugin (22 - 2004-08-02 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (21 - 2004-03-21 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (20 - 2004-01-02 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (19 - 2003-05-25 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (18 - 2003-05-25 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (17 - 2003-05-03 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (16 - 2002-12-18 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (15 - 2002-12-15 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (14 - 2002-12-10 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (13 - 2002-06-05 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (12 - 2002-03-13 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (11 - 2002-03-13 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (10 - 2002-03-08 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (9 - 2002-01-05 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (8 - 2001-12-09 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (7 - 2001-12-07 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (6 - 2001-12-04 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (5 - 2001-11-29 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (4 - 2001-11-16 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (3 - 2001-11-16 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (2 - 2001-11-14 - PeterThoeny)

 <<O>>  Difference Topic TablePlugin (1 - 2001-11-11 - PeterThoeny)
Line: 1 to 1
Added:
>
>

Table Plugin

Gives extra control off table display:

  • Allows sorting
  • Changing background colour for header cells
  • Changing background colour for data cells - colours can alternate
  • Behaviour can be specified for a specific table using %TABLE{...}% or with global preferences

Global Preferences

  • Set DEBUG to on to get debug messages in data/debug.txt. Default: off
    • Set DEBUG = on
  • Colour for header cells ('*'s around text). Default: #99CCCC
    • #Set HEADER_BG = red
  • #Set DATA_BG = #C8CB8F,#DBDDB5
  • Set DATA_BG = #FFFFCC,#FFFFFF
  • #Set SORT = attachments
  • Set SORT = all
  • #Set SORT = none

  • Set SHORTDESCRIPTION = Control sorting and colours for table display

Sorting

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:

  • date if format is:
    • dd MMM YYY - hh:mm
    • dd-MMM-YY or dd-MM-YYYY (can be / or space in place of -)
    • MMM is Jan, Feb, etc
  • number is digits, with optional decimal point
  • otherwise treated as text

Per table settings

On line before the table use %TABLE{...}%:

Argument Comment
sort on or off
headerbg header cell background colour
databg data cell background colour, a comma seperated list

All default to the global setting

Examples

Line before table: %TABLE{sort="on" headerbg="#99CCCC" databg="#C8CB8F,#DBDDB5"}%

Num Status Action Who When
<-- -->
Sorted ascending
Progress
2 X Release John 1-Apr-02  
1 C Chose new colours John 1-Dec-02  
12 C Spec error handling Jack 1-Dec-02  
3   Get feedback Anne 1-Feb-02  
5   Abc John    

-- JohnTalintyre - 07 Oct 2001


View | History: r36 < r35 < r34 < r33 | More

View | History: r36 < r35 < r34 < r33 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TablePlugin.