Darryl Pye schrieb:
Hi all

I am a bit stuck

i was tryng to return an array of data for a row in a list view when it is double clicked,

I can return the  whole list view but not  the row selected,
i have tried  using getPane
but cannot seem to get it to work.

I am using rendered branch

Any assistance would be aprreciated,

The doubleclick should be assigned on the "pane" which means you do something like:

myListView.getPane().addEventListener("dblclick", function(e) {
  this.getManager().getSelectedItems()
  // or
  this.getManager().getSelectedItem()
});

This will give you the current selection then. If you want the dom target of the event, what is imho not really helpful you can do this in your event listener:

alert(e.getDomTarget());

Sebastian


Regards,
Darryl

_________________________________________________________________
Start something musical - 15 free ninemsn Music downloads! http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=667&referral=HotmailTaglineNov&URL=http://www.ninemsn.com.au/startsomething



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to