Sorry Santosh its also returning -1.

On Mon, Jan 3, 2011 at 2:38 PM, Santosh <[email protected]> wrote:

> Hi,
> for getting itemindex u need to have the same format in
> arraycollection
>
> [Bindable]
>  private var arrCB:ArrayCollection = new ArrayCollection(new
> Array({label:'Test'},{label:'sample'}));
> var tempObj:object=new object();
> tempObj.label='Test';
> arrCB.getItemIndex(tempObj) will now return the item index.
>
>
>
>
> Thanks and Regards
>
> Santosh Kumar M
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>


-- 
Rakshu

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to