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.