|
Re: How to auto-number list items [message #151241 is a reply to message #151130] |
Wed, 05 April 2006 20:32 |
|
Steve,
I dont believe there is an auto number, but you can do something like:
Add your group
1 - Select the group row and select script.
2 - Enter grnumber = 0.9; in the onPrepare method.
3 - Select the group data element (For example row["country"]) and double
click it to bring up the expression builder.
4 - Enter the following for the expression.
grnumber = grnumber + 0.1;
grnumber.toFixed(1) + " " + row["country"];
This will produce something like this,
1.0 Australia
detail row
detail row
detail row
detail row
1.1 Austria
detail row
detail row
detail row
etc
You should be able to repeat this for nested groups.
Jason
"Steve Gutz" <sgutz@ca.ibm.com> wrote in message
news:e10n01$p2q$1@utils.eclipse.org...
>I have a list with several nested groupings and would like to auto-number
> them. For example:
>
> 1.0 Group A
> 1.1 Group A1
> 1.1.1 List item A1a
> 1.1.2 List item A1b
> 1.1.3 List item A1c
> 1.2 Group A2
> 1.3 Group A3
> 2.0 Group B
> .
> .
> .
>
> Is this possible?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04748 seconds