wiki-archive/twiki/data/TWiki/TWikiTip022.txt,v

46 lines
1.3 KiB
Plaintext
Raw Normal View History

head 1.1;
access;
symbols;
locks; strict;
comment @# @;
1.1
date 2006.02.01.12.01.24; author TWikiContributor; state Exp;
branches;
next ;
desc
@new-topic
@
1.1
log
@buildrelease
@
text
@%META:TOPICINFO{author="TWikiContributor" date="1107571795" format="1.0" version="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
@