Tags:
create new tag
view all tags
#VarEDITTABLE ---+++ EDITTABLE{ _attributes_ } -- edit TWiki tables using edit fields and other input fields * The =%<nop>EDITTABLE{}%= variable is handled by the EditTablePlugin * Syntax: =%<nop>EDITTABLE{ _attributes_ }%= %STARTSECTION{"edittable_attributes"}% * Supported attributes: | *Attribute* | *Comment* | *Default* | | =header= | Specify the header format of a new table like ="%VBAR%*Food*%VBAR%*Drink*%VBAR%"=. Useful to start a table with only a button | (no header) | | =format= | The format of one column when editing the table. A cell can be a text input field, or any of these edit field types: %BB% Text input field (1 line):%BR% =%VBAR% text, <size>, <initial value> %VBAR%= %BB% Textarea input field:%BR% =%VBAR% textarea, <rows>x<columns>, <initial value> %VBAR%= %BB% Drop down box: %BR% =%VBAR% select, <size>, <option 1>, <option 2>, etc*<nop> %VBAR%= %BR% =*= only one item can be selected %BB% Radio buttons: %BR% =%VBAR% radio, <size*>, <option 1>, <option 2>, etc %VBAR%= %BR% =*= size indicates the number of buttons per line in edit mode %BB% Checkboxes: %BR% =%VBAR% checkbox, <size*>, <option 1>, <option 2>, etc %VBAR%= %BR% =*= size indicates the number of checkboxes per line in edit mode %BB% Fixed label: %BR% =%VBAR% label, 0, <label text> %VBAR%= %BB% Row number: %BR% =%VBAR% row, <offset> %VBAR%= %BB% Date: %BR% =%VBAR% date, <size>, <initial value>, <DHTML date format*> %VBAR%= %BR% =*= see [[EditTablePlugin#DateField][Date Field Type]] | ="text, 16"= %BR% for all cells | | =changerows= | Rows can be added and removed if ="on"= <br /> Rows can be added but not removed if ="add"= <br /> Rows cannot be added or removed if ="off"= | =CHANGEROWS= %BR% plugin setting | | =quietsave= | Quiet Save button is shown if ="on"=, hidden if ="off"= | =QUIETSAVE= %BR% plugin setting | | =include= | Other topic defining the EDITTABLE parameters. The first %<nop>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 %<nop>STARTINCLUDE% and %<nop>STOPINCLUDE% variables can be used in the topic to specify what is shown. | (no help text) | | =headerislabel= | Table header cells are read-only (labels) if ="on"=; header cells can be edited if ="off"= or "0" | ="on"= | | =editbutton= | Set edit button text, e.g. ="Edit this table"=; set button image with alt text, e.g. ="Edit table, %<nop>PUBURL%/%<nop>SYSTEMWEB%/TWikiDocGraphics/edittopic.gif"=; hide edit button at the end of the table with ="hide"= (Note: Button is automatically hidden if an edit button is present in a cell) | =EDITBUTTON= %BR% plugin setting | | =buttonrow= | Set to =top= to put the edit buttons above the table. | =bottom= | | =javascriptinterface= | Use javascript to directly move and delete row without page refresh. Enable with ="on"=, disable with ="off"=. | =JAVASCRIPTINTERFACE= %BR% plugin setting | | =redirectto= | Set up a return page after saving changes. e.g By setting redirectto="%<nop>BASEPAGE%", you can return to base page if your editable table is included by another page. | (none) | %ENDSECTION{"edittable_attributes"}% * Example:%BR% =%<nop>EDITTABLE{ format="| text, 20 | select, 1, one, two, three |" changerows="on" }%= %BR% =| <nop>*Name*<nop> | <nop>*Type*<nop> |= %BR% =| Foo | two |= * Category: DatabaseAndFormsVariables, EditingAndContentUpdateVariables, TablesAndSpreadsheetsVariables * Related: See EditTablePlugin for more details
E
dit
|
A
nexar
|
Watch
|
Im
p
rimir
|
H
istórico
: r5
<
r4
<
r3
<
r2
<
r1
|
We
b
|
V
er tópico
|
Ra
w
edit
|
M
ais ações de tópico
Versão do tópico: r5 - 12 Nov 2012
-
TWikiContributor
Home
Site map
Main web
Sandbox web
TWiki web
Web TWiki
User registration
Usuários
Grupos
Índice
Busca
Alterações
Notificações
Fonte RSS
Estatísticas
Preferências
P
Ver
Raw View
Print version
Find backlinks
History
More topic actions
Editar
Editar modo texto
Attach file or image
Editar preferências do tópico
Marcar novo tópico pai
More topic actions
Referência do usuário
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Manutenção Administrativa
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categorias
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Iniciar sessão
Български
Cesky
Dansk
Deutsch
English
Español
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
E
dit
A
nexar
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Idéias, solicitações, problemas com relação ao TWiki?
Nos dê um retorno
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarEDITTABLE
.