Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r9  >  r8  ...
EditTablePlugin 9 - 02 Aug 2004 - Main.PeterThoeny
Line: 1 to 1
 

Edit Table Plugin

This plugin 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.

Line: 46 to 46
 
  • In page view mode:
Changed:
<
<
    • - turn the table into edit mode
>
>
    • - turn the table into edit mode
 
  • In edit mode:
Changed:
<
<
    • - save your changes
    • - save your changes without alerting subscribed WebNotify users
    • - add row to the table (if enabled)
    • - remove last row from the table (if enabled)
    • - cancel without saving and release edit lock
>
>
    • - save your changes
    • - save your changes without alerting subscribed WebNotify users
    • - add row to the table (if enabled)
    • - remove last row from the table (if enabled)
    • - cancel without saving and release edit lock
 

Examples

Line: 63 to 63
 
1 hello table one 26 Jun 2002 12:30
2   two 27 Jun 2002 12:40
Changed:
<
<
Note: Please use TWiki:Sandbox.EditTablePluginTesting if you want to try out this Plugin
>
>
Note: Please use TWiki:Sandbox.EditTablePluginTesting if you want to try out this Plugin
 
Changed:
<
<
If this plugin is installed you will see an [ Edit table ] button above; when you click on it you get this form:
>
>
If this plugin is installed you will see an [ Edit table ] button above; if you were to click on it (please don't, use TWiki:Sandbox.EditTablePluginTesting for testing) you get this form:
 
Line: 73 to 73
 
1 26 Jun 2002 12:30
2 27 Jun 2002 12:40
Changed:
<
<
(demo only, these buttons do not work)
>
>
(demo only, these buttons do not work)
 

The following example shows a simple table with key/value rows. The default edit field type for the value column is a text field. This is overloaded by a selector for the Gender, and a date picker for the DOB. This is typically used by TWiki applications where new topics with tables are created based on a template topic.

Line: 134 to 134
 

Limitations and Known Issues

Deleted:
<
<
  • ALERT! Bug: The Plugin fails if the table is at the very end of the topic (without a new line) Always ensure there is a newline after the table
 
  • This Plugin does not support TWiki table formatting like Multi-span cells (e.g. | ... ||) and cell justification (e.g. |  centered  |   right |)
  • There is a performance issue when editing a large table, say, with more then 50 rows
  • Variables like %ATTACHURL% get expanded unless they are in a label
Line: 173 to 172
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 07 Apr 2004
>
>
Plugin Version: 01 Aug 2004
 
Change History:
<-- specify latest version first -->
 
Added:
>
>
01 Aug 2004: Fixed bug where edittable did not work if at the end of a topic
 
07 Apr 2004: Fixed bug where two tables got updated when you edit and save a table included into a topic containing other edit tables
02 Mar 2004: Default for %EDITCELL{editbutton}% is EDITBUTTON preference
27 Feb 2004: Added QUIETSAVE setting and quietsave parameter; image for Edit button
Line: 204 to 204
 Related Topics: TWikiPreferences, TWikiPlugins
Changed:
<
<
-- TWiki:Main/PeterThoeny - 07 Apr 2004
>
>
-- TWiki:Main/PeterThoeny - 01 Aug 2004
 
META FILEATTACHMENT attr="h" comment="Screenshot" date="1078005196" name="EditTablePluginCalendarExample.gif" path="C:\Data\Temp\EditTablePluginCalendarExample.gif" size="7823" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="Component of Mishoo DHTML calendar" date="1071361959" name="README" path="C:\Data\MyTWiki\Plugins\EditTablePlugin\pub\TWiki\EditTablePlugin\README" size="823" user="PeterThoeny" version="1.1"

Revision 9r9 - 02 Aug 2004 - 05:45:34 - PeterThoeny?
Revision 8r8 - 09 May 2004 - 07:21:27 - PeterThoeny?
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM