Tags:
create new tag
view all tags

Control table attributes with TablePlugin

The TablePlugin gives extra control over table display:

  • Allows sorting
  • Changing table properties like border width, cell spacing and cell padding
  • Changing background color and text color for header cells
  • Changing background color and text color for data cells - colors can alternate
  • Table attributes can be set and overridden in this order:
    • Default TABLEATTRIBUTES Plugin setting in this topic
    • A TABLEATTRIBUTES preferences setting on site-level (TWikiPreferences), web-level (any WebPreferences), or topic level. For example:
      • Set TABLEATTRIBUTES = tableborder="0" cellpadding="1" ...

To change table characteristics place %TABLE{...}% before the table.

More Information...

See More Tips...

-- Contributors: TWiki:Main.PaulineCheung

Topic revision: r2 - 2010-06-28 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiTip023.