data/TWiki/TWikiTip022.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
colas@0
     1
head	1.1;
colas@0
     2
access;
colas@0
     3
symbols;
colas@0
     4
locks; strict;
colas@0
     5
comment	@# @;
colas@0
     6
colas@0
     7
colas@0
     8
1.1
colas@0
     9
date	2006.02.01.12.01.24;	author TWikiContributor;	state Exp;
colas@0
    10
branches;
colas@0
    11
next	;
colas@0
    12
colas@0
    13
colas@0
    14
desc
colas@0
    15
@new-topic
colas@0
    16
@
colas@0
    17
colas@0
    18
colas@0
    19
1.1
colas@0
    20
log
colas@0
    21
@buildrelease
colas@0
    22
@
colas@0
    23
text
colas@0
    24
@%META:TOPICINFO{author="TWikiContributor" date="1107571795" format="1.0" version="1"}%
colas@0
    25
%META:TOPICPARENT{name="TWikiTipsOfTheDay"}%
colas@0
    26
---+ Edit tables with !EditTablePlugin
colas@0
    27
 
colas@0
    28
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.
colas@0
    29
colas@0
    30
Example:
colas@0
    31
colas@0
    32
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" }%=
colas@0
    33
%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" }%
colas@0
    34
|*Nr*|*Text field*|*Drop down*|*Mood*|*Timestamp*|
colas@0
    35
| 1 | hello table | one | :-) | 26 Jun 2002 12:30 |
colas@0
    36
| 2 |  | two | :-( | 27 Jun 2002 12:40 |
colas@0
    37
colas@0
    38
colas@0
    39
[[EditTablePlugin][More Information...]]
colas@0
    40
colas@0
    41
[[TWikiTipsOfTheDay][See More Tips...]]
colas@0
    42
colas@0
    43
-- TWiki:Main.PaulineCheung - 01 Feb 2005
colas@0
    44
colas@0
    45
@