6 Replies Latest reply on Feb 9, 2010 1:11 AM by monkeymagiic

    Itemrenderer ItemIndex

    monkeymagiic

      Hello, another day another question.

       

      A relatively simple one I suppose, I am busy trying to get the itemIndex within my itemRenderer which is extending the itemRenderer class:

       

      Strangely when I put a break point I can see this property exists already within the class, I might imagine this gets set by the data group?

       

      I used the following within my class to get the itemIndex:

       

      DataGroup( parent ).dataProvider.getItemIndex( data )

       

      Though as I can already see that this has been done already and I am only adding extra processing (for no reason), is there a special way I am supposed to access this property?

       

      Let me know, thanks in advance

       

      Tyrone (MonkeyMagiic)