Tags:
create new tag
, view all tags

This is an example of EditTablePlugin usage with move/lock row add-on

In this example, any LOCKED task will not be shown as editable. Any task in state CANCELLED or FINISHED will be moved at end of topic table on save action. This will not work on TWiki.org as it need a patch EditTablePlugin (see EditTablePluginDev).

Doc

Added parameters

Parameter Comment Default
keywordlock a cell containing keyword (regex) will make corresponding row protected against edit None
keywordmove a cell containing keyword (regex) will make corresponding rows to be moved with rule given by moverows None
moverows define how a row is moved when keywordmove match :
  • move at end of table : end ,
  • move in a table after this one : after ,
  • move at end of topic : topicend
None

Example

  • example of added parameters :

 changerows="add" keywordmove="FINISHED|CANCELLED" moverows="topicend" keywordlock="LOCKED" 

EditTablePluginMoveRows Table

N State Activity short description Priority Completion Completion Creation date due date
1 RUNNING this is a task LOW 70% 70 20 Mar 2003 31/12/2004
2 RUNNING learn JAVA LOW 10% 10 01 Oct 2003 31/12/2004
3 FINISHED fix bug #555 LOW 0% 06 Oct 2003 31/12/2004
4 WAITING CANCELLED and FINISHED keywords are ignored if not alane in a cell LOW 50% 50 13 Jan 2004 31/12/2004
5 PAUSED TWiki is great? LOW 60% 60 22 Jan 2004 31/12/2004
6 FINISHED Python is great LOW 80% 80 18 Aug 2004 31/12/2004
7 FINISHED Apply EditTablePlugin patch on twiki LOW 0% 18 Aug 2004 31/12/2004


FINISHED and CANCELLED actions have been automatically moved here by EditTablePlugin (if patched) :

N State Activity short description Priority Completion Completion Creation date due date
2 FINISHED get a coffee LOW 20% 20 06 May 2003 31/12/2004
3 FINISHED learn Python NORMAL 100% 100 01 Oct 2003 31/12/2004
7 FINISHED new activity LOW 0% 18 Aug 2004 31/12/2004
7 CANCELLED new activity LOW 0% 18 Aug 2004 31/12/2004
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatsvn EditTablePatchDakar.svn r1 manage 3.3 K 2006-06-28 - 09:15 PatrickNomblot Patch for EditTablePlugin/Core.pm
Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2007-03-02 - JohnMiller
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.