Issue Details (XML | Word | Printable)

Key: SCAFF-130
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jeff Heinen
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Scaffolding Plugin

Auto-increase for number-data in a table-data object

Created: 11/Jun/07 10:32 PM   Updated: 23/Apr/09 11:39 AM
Component/s: {table-data}
Affects Version/s: None
Fix Version/s: Turquoise

Time Tracking:
Not Specified


 Description  « Hide
As an option for number-data items, when creating a new line in a table-data group, auto-populate the field with the next value according to the step?

So, if you have:

1 Item One
2 Second Item
3 Another Thing

Creating another row to this table would populate the first number-data with 4.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson added a comment - 29/Jun/07 10:04 PM
I'm not sure what the best way to implement this is. Part of the issue is that rows can be reordered at whim, and it would be a pain to keep track of all the reorderings.

Jeff Heinen added a comment - 29/Jun/07 11:04 PM
Now I have to remember the case for which I wanted this. I do recall thinking about that, and I would be willing to give up reordering for this item. In truth, there are several cases where I would like to forbid reordering.

Let me go find my use-case again, if I can't, I'll let you know so you can close this up.


Tom Howard added a comment - 05/Jan/09 02:59 AM
For some of my uses of table-data, it would be great to have an ID field, that could be use in reports, could not be changed by users and does not change when rows are re-ordered.

In one example, I have an action register implemented using table-data and each action has an ID which is specified by a number-data field. From this table, I generate an open actions table and a closed actions table. The ID's are used to refer to specific action, thus should never change for a particular action. Having the ID generated automatically, would just make things a little be cleaner and less error prone.


Gary Jordan added a comment - 23/Apr/09 11:39 AM
I'm also trying to set up a template that includes an autonumbered table.
Ive tried using: {table-data:Summary|initialRows=3}
|| Description ||
| # {text-data:Summary|type=area|width=450px|height=5cm}<key point>{text-data}|{table-data}

but the autonumbering resets at each line - Can anyone tell me if there is a way of continuing the sequence as each row is added?