0 Replies Latest reply on Sep 4, 2006 1:42 PM by JB_Sound

    Bug in ListCollectionView?

      I was just trying to use the getItemIndex on an ArrayCollection and even though the search value is in the AC, the getItemIndex always returns -1.

      I have tracked this down to a section in the ListCollectionView method getItemIndex that always returns -1, no matter whether a match has been found.

      The API documentation is rather vague on the use of getItemIndex, especially for an AC, so I wasn't really able to find out whether I am setting up the method call properly.

      Can someone shed some light on it?

      All that needs to be done is to set up a multi-dimensional array (in my case it was 2 dimensional) and specify:


      It always returns -1, regardless of whether the AC was sorted or not.