# Access index inside a \<Each /\> tag

**URL:** <https://forums.fusetools.com/t/access-index-inside-a-each-tag/6766>\
**Category:** Feature Suggestions\
**Created:** [March 3, 2016, 6:21pm UTC](https://forums.fusetools.com/t/access-index-inside-a-each-tag/6766 "2016-03-03T18:21:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauricio.zuardi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mauricio.zuardi/32/446_2.png) [@mauricio.zuardi](https://forums.fusetools.com/u/mauricio.zuardi)\
**Post date:** [March 3, 2016, 6:21pm UTC](https://forums.fusetools.com/t/access-index-inside-a-each-tag/6766/1 "2016-03-03T18:21:37Z")

</div>

Suppose I want to do a numbered list.

If I could write:

```auto
<StackPanel>
    <Each Items="{array}">
        <WrapPanel>
            <Text Value="{i}"/>
            <Text Value=". "/>
            <Text Value="{}"/>
        </WrapPanel>
    </Each>
</StackPanel>

```

and get an output like:

```auto
1. Value One
2. Value Two
3. Value Three

```

OR

```auto
<StackPanel>
    <Each Count="3">
        <Text Value="{i}"/>
    </Each>
</StackPanel>

```

and get:

```auto
1
3
2

```

Some simple tasks could be achieved without JS. Thanks!

---

<div class="post-metadata">

**Author:** ![mauricio.zuardi](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mauricio.zuardi/32/446_2.png) [@mauricio.zuardi](https://forums.fusetools.com/u/mauricio.zuardi)\
**Post date:** [March 3, 2016, 6:24pm UTC](https://forums.fusetools.com/t/access-index-inside-a-each-tag/6766/2 "2016-03-03T18:24:26Z")

</div>

Ops, found a typo on the last output. 1,2,3 is the correct.
