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
--
XochipalaValdez - 20 Jan 2007
Answer
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