Personal Professional Christian Stuff Photographs Miscellaneous Blog email Admin

TWikiTipsOfTheDay

 

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