key Log In

You are here: wiki.fini > TWiki Web > TWikiTipsOfTheDay > TWikiTip023

Start of topic | Skip to actions

Control table attributes with TablePlugin

The TablePlugin gives extra control of 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...

-- TWiki:Main.PaulineCheung - 30 Jan 2005

This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding wiki.fini? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiTip023