*** data/TWiki/EditTablePlugin.txt.orig Tue Apr 8 18:51:09 2003
--- data/TWiki/EditTablePlugin.txt Tue Apr 8 18:56:14 2003
***************
*** 20,26 ****
| *Parameter* | *Comment* | *Default* |
| =header= | Enable static header if ="on"=, e.g. disable editing of the first row;
Else specify the header format of a new table like ="|*Food*|*Drink*|"=. | (no header) |
! | =format= | The format of one row when editing the table. A cell can be a text input field, a drop down box, a fixed label, or a row number. Cell definitions:
| - Text input field: | =| text, <size>, <initial value> |= |
| - Drop down box: | =| select, <size>, <option 1>, <option 2>, etc |= |
| - Fixed label: | =| label, 0, <label text> |= |
| - Row number: | =| row, <offset> |= |
| ="text, 16"= for all cells |
| =changerows= | Rows can be added and removed if ="on"=;
Rows can be added but not removed if ="add"= | ="off"= |
| =include= | Other topic defining the EDITTABLE parameters. The first %EDITTABLE% in the topic is used. This is useful if you have many topics with the same table format and you want to update the format in one place. | (none) |
| =helptopic= | Topic name containing help text shown below the table when editing a table. The %STARTINCLUDE% and %STARTINCLUDE% variables can be used in the topic to specify what is shown. | (no help text) |
--- 20,26 ----
| *Parameter* | *Comment* | *Default* |
| =header= | Enable static header if ="on"=, e.g. disable editing of the first row;
Else specify the header format of a new table like ="|*Food*|*Drink*|"=. | (no header) |
! | =format= | The format of one row when editing the table. A cell can be a text input field, a drop down box, a fixed label, or a row number. Cell definitions: | -Text input field (1 line): | =| text, <size>, <initial value> |= |
| -Textarea input field: | =| textarea, <rows>x<columns>, <initial value> |= |
| - Drop down box: | =| select, <size>, <option 1>, <option 2>, etc |= |
| - Fixed label: | =| label, 0, <label text> |= |
| - Row number: | =| row, <offset> |= |
| ="text, 16"= for all cells |
| =changerows= | Rows can be added and removed if ="on"=;
Rows can be added but not removed if ="add"= | ="off"= |
| =include= | Other topic defining the EDITTABLE parameters. The first %EDITTABLE% in the topic is used. This is useful if you have many topics with the same table format and you want to update the format in one place. | (none) |
| =helptopic= | Topic name containing help text shown below the table when editing a table. The %STARTINCLUDE% and %STARTINCLUDE% variables can be used in the topic to specify what is shown. | (no help text) |