%META:TOPICINFO{author="PeterThoeny" date="1107571763" format="1.0" version="1.1"}%
%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 =%<nop>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: =%<nop>EDITTABLE{ format="| row, -1 | text, 20, init | select, 1, one, two, three, four | radio, 3,:-),:-I,:-( | label, 0, %<nop>SERVERTIME{"$day $mon $year $hour:$min"}% |" changerows="on" }%=
%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 | :-) | 26 Jun 2002 12:30 |
| 2 |  | two | :-( | 27 Jun 2002 12:40 |


[[EditTablePlugin][More Information...]]

[[TWikiTipsOfTheDay][See More Tips...]]

-- TWiki:Main.PaulineCheung - 01 Feb 2005

