Hello,

I'm having a problem trying to figure out how to do something, which  
at first, seemed trivial.

I have a grid attached to a datapath. This is working fine. Then I  
have a separate class that displays more details about a particular  
record. What I want to do is when a row is selected on the grid, the  
grid's onselect method will create a new instance of the second class  
and pass the ID attribute (from the content of the xml data) of the  
selected row to the class's "openWindow" method.

The second class openWindow method will take the ID and define a  
dataset URL to fetch the details of the selected records.

Can anyone give me some hints as to how this can be done. When I do  
Debug.write(this.getSelection()) in the grid's onselect method, it  
shows an instance of LzDatapointer. I'm having a difficult time  
"querying" this object to get the ID attribute in its xml data.

Any other suggestions will be greatly appreciated.

Thanks,
Daniel
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to