Tags:
create new tag
, view all tags

Question

I have a table that can be added to through Commentplugin. I would like to create a column that has the row number and would like the row number to automatically generate as each table row gets added. I cannot find much of anything on autonumbering in any TWiki documentation. Any ideas? Thanks.

Environment

TWiki version: 4
TWiki plugins:  
Server OS:  
Web server: Apache
Perl version: 5
Client OS: Mac OX 10.4
Web Browser: Firefox
Categories:  

-- XochipalaValdez - 20 Jan 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You could try a couple of things. Using the EditTablePlugin, you can have it auto number rows.

Another option is to use the SpreadSheetPlugin by inserting some code in the first cell to add 1 to the cell above it with something like CALC{$T(ROW()-1:COLUMN())+1}

Another idea is to use the ExplicitNumberingPlugin to insert a ##. into the first column and let it number the rows.

Hope one of this will work for you.

-- RickMach - 22 Jan 2007

To add a small confirmation of Rick's suggestions: We already have the ExplicitNumberingPlugin installed. His suggestion to use the ##. markup works very well for auto numbered rows in a table.

Thanks, Rick.

-- AlanDayley - 23 Jan 2007

ExplicitNumberingPlugin was the perfect solution. Thanks rick and Alan.

-- XochipalaValdez - 23 Jan 2007

 
Change status to:
Topic revision: r5 - 2007-01-24 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.