Edit tables with EditTablePlugin

The EditTablePlugin allows you to edit TWiki tables using edit fields and drop down boxes. Tables have an [ Edit table ] button if preceeded by an %EDITTABLE{...}% variable. Each column can be a text field, a drop down box, a date field, etc. Multiple tables per topic are editable, but only one at a time can be edited.

Example:

Syntax: %EDITTABLE{ format="| row, -1 | text, 20, init | select, 1, one, two, three, four | radio, 3,:-),:-I,:-( | label, 0, %SERVERTIME{"$day $mon $year $hour:$min"}% |" changerows="on" }%

Nr Text fieldSorted descending Drop down Mood Timestamp
3   two frown 27 Jun 2002 12:40
2 hello table one smile 26 Jun 2002 12:30

More Information...

See More Tips...

-- TWiki:Main.PaulineCheung - 01 Feb 2005


This topic: TWiki > TWikiTipsOfTheDay > TWikiTip022
Topic revision: r1 - 2005-02-05 - 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.TWikiTip022.