Also look into the valueCommit Event: http://livedocs.macromedia.com/flex/2/langref/mx/core/UIComponent.html
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, November 27, 2006 8:17 PM To: [email protected] Subject: RE: [flexcoders] Newie : calling a function when setting selected index I was able to use the updateComplete="callFunction()" . Thanks. Joe James Work: (562) 658-3670 Tie Line: 8-320-3670 CONFIDENTIALITY STATEMENT - This message and any files or text attached to it are intended only for the recipients named above, and contain information that may be confidential or privileged. If you are not an intended recipient, you must not read, copy, use, or disclose this communication. Please also notify the sender by replying to this message, and then delete all copies of it from your system. Thank you. NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you. "Tracy Spratt" <[EMAIL PROTECTED]> Sent by: [email protected] 11/27/2006 03:39 PM Please respond to [email protected] To <[email protected]> cc Subject RE: [flexcoders] Newie : calling a function when setting selected index I am not following: "The row that was selected the disapears." What does that mean? "to [do] this with out using a click..." Do what? "Can it automatically highlight a row and call the function and then go on to the next row and do the same." Huh? More detail please. What do you want to happen? Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Sent: Monday, November 27, 2006 6:10 PM To: [email protected] Subject: [flexcoders] Newie : calling a function when setting selected index I have a datagrid with about 25 rows of employees names. On click or change I am calling a remote object that updated information based on the employee that you clicked. The row that was selected the disapears. I would like to know if it is possible to this with out using a click or change event. Can it automatically highlight a row and call the function and then go on to the next row and do the same. I know I can set the selected index, but it does seem to call the function. Any advice would be helpfull. Thank you. ----- Message from "Joe" <[EMAIL PROTECTED]> on Mon, 27 Nov 2006 18:09:57 -0500 ----- To: <[email protected]> Subject: [flexcoders] Newie : calling a function when setting selected index I have a datagrid with about 25 rows of employees names. On click or change I am calling a remote object that updated information based on the employee that you clicked. The row that was selected the disapears. I would like to know if it is possible to this with out using a click or change event. Can it automatically highlight a row and call the function and then go on to the next row and do the same. I know I can set the selected index, but it does seem to call the function. Any advice would be helpfull. Thank you.

