3 Replies Latest reply on Jul 6, 2007 4:34 PM by Flex D

    How to: display incremental numeric index in a List

    williamkusumo
      I have a List bounded with a dataProvider and rendered with an itemRenderer. I need to display 1, 2, 3, and so on on each list item. And the list can be re-arranged via drag-n-drop and the index needs to remain constant (meaning the first item on the list will always say "1", second "2", and so on). Could I get an advice on how to achieve this?

      Thanks!