1 # <a name="Edit tables with _EditTablePlugi"></a> Edit tables with EditTablePlugin
3 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.
7 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" }%` <a name="edittable1"></a>
10 <form action="http://www.dementia.org/twiki/viewauth#edittable1" method="post" name="edittable1"><input name="ettablenr" type="hidden" value="1" /> <input name="etedit" type="hidden" value="on" /><table border="1" cellpadding="0" cellspacing="0">
12 <th bgcolor="#99CCCC"><strong> Nr </strong></th>
13 <th bgcolor="#99CCCC"><strong> Text field </strong></th>
14 <th bgcolor="#99CCCC"><strong> Drop down </strong></th>
15 <th bgcolor="#99CCCC"><strong> Mood </strong></th>
16 <th bgcolor="#99CCCC"><strong> Timestamp </strong></th>
20 <td> hello table </td>
23 <td> 26 Jun 2002 12:30 </td>
30 <td> 27 Jun 2002 12:40 </td>
32 </table><input name="etrows" type="hidden" value="3" /> <input type="submit" value="Edit table" /></form>
35 [[More Information...|Main/EditTablePlugin]]
37 [[See More Tips...|Main/TWikiTipsOfTheDay]]
39 -- TWiki:Main.PaulineCheung - 01 Feb 2005