Thanks Brian, Cool stuff... So if I wanted to pass the ID I would have an itemClick on the first datagrid that calls an event: itemClick="showSelectedItems(event)"
And then in the mx:Script I can send the id to the new mx:HTTPRequest: myRequest.send(dg.selectedItem.myID) I guess my question is how do I populate the results back to the second datagrid? Thanks again! --- In [email protected], "Brian Holmes" <[EMAIL PROTECTED]> wrote: > > > > > > look into the data grid selected item property. You should be able to > reference the currently seleted row and depending how you have your > data reference the ID > > > > > > something like > > > > myDataGrid.selectedItem.ID > > > > or myDataGrid.selectedItem["ID"] > > > > > > brian.. > > > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of its_llpj > Sent: Wednesday, September 05, 2007 1:23 PM > To: [email protected] > Subject: [flexcoders] Grabbing ID from one datagrid to populate a > second. > > > > Newbie question, but how do I get the id from the current element in a > datagrid and then pass the ID via mx:HTTPService to populate a second > datagrid? > > Thanks! > > > > > > *** > The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. > *** >

