Groups | Blog | Home
all groups > flash data integration > october 2005 >

flash data integration : Data Grid cell press question...



C-Rock
10/13/2005 2:54:45 PM
Ok, I've been working days on this and finally have broke down to ask. I'm
importing via coldfusion, information from a database. Like the parks database
that comes with coldfusion. I'm bringing the data into flash with the flash web
service connector. it works fine bringing in a list of the park types. when the
info is brought into a data grid and i click on a cell i want to invoke another
web service that brings in the park names of the type i just clicked into
another data grid. how is this possible?

The params it would be sending to the second web service connector would be a
string called park type.
cerebius
10/31/2005 12:00:00 AM
The following should get you started:


on(cellPress)
{
// Test for the correct cell
if ("Cell Header" == eventObj.target.getColumnNames[eventObj.columnIndex])
{
// Get the data for the row
var rowData:Object = getItemAt (eventObj.itemIndex);

// Call your swf with the other data grid. Perhaps using a popup? Use the
data in rowData to get what you need for parameters
}
}
AddThis Social Bookmark Button