Difference: TWikiTip022 ( vs. 1)

Revision 104 Feb 2005 - Main.TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiTipsOfTheDay"

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 field Drop down Mood Timestamp
1 hello table one smile 26 Jun 2002 12:30
2   two frown 27 Jun 2002 12:40
<-- /editTable -->

More Information...

See More Tips...

-- TWiki:Main.PaulineCheung - 01 Feb 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 TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiTip022