I don't see how row got defined or set.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of hammer995
Sent: Wednesday, April 02, 2008 2:17 PM
To: [email protected]
Subject: [flexcoders] No row in datagrid selection

 

I have a user datagrid that displays an xml result set. I have
identical datagrid code for other datagrids which work fine.

For some reason, in this one user datagrid, the row does not get sent
upon datagrid selection. When the user selects a user to edit, the
row is null.

Here is my code:

private function editUserPop():void {
var newFormWindow:TitleWindow =
TitleWindow(PopUpManager.createPopUp(this, editUser, true));
trace(row.id); 
newFormWindow.title="Edit User Information";
newFormWindow.setStyle("borderAlpha", 0.9);
newFormWindow.showCloseButton=true;
newFormWindow.width=310;
newFormWindow.height=250;
newFormWindow.data = row;
newFormWindow.addEventListener("updateUser", updateUserHandler);
PopUpManager.centerPopUp(newFormWindow);
}

The trace always craps out the debugger.

This should be pretty vanilla what I am trying to do.

Please help!

Thanks.

 

Reply via email to