Is it createCursor(), Alex?

Alex Harui wrote:
>
> getItemIndex takes an item, which you can find() in a getCursor() on 
> the collection.
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *candysmate
> *Sent:* Sunday, September 16, 2007 1:28 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Searching array for item
>
>  
>
> I wish to search an ArrayCollection for a match to the text in a
> textInput component and then set the selectedIndex of a dataGrid to
> the result.
>
> I tried:
>
> invoiceApprovalGrid.selectedIndex =
> adviceApprovalCollection.getItemIndex(approveAdviceNumber.text);
>
> without success. Any pointers most welcomed.
>
>  

Reply via email to