Hello,
I just found out about Qooxdoo and loved it, so I am trying to use it for
all my new applications. I am newbie, and this is probably a very easy
question, so apollogies in advance.

First thing I am trying is a tree with checkboxes in the nodes, so I am
using a treefullcontrol and a qx.ui.form.CheckBox inside it. This is working
fine. What I am unable to do is checking/unchecking all children nodes when
checking/unchecking a folder. To respond to the event, I add an event
listener to the changeChecked event:

check.addEventListener("changeChecked", function(e) {
  ...
});

And also I have to add the checkbox to the treeRowStructure with the second
parameter to false, so that the checkbox responds to the event:

treeRowStructure.addObject(check, false);

My problem is that I cannot access to the TreeFolder object from the
checkbox. In my function, the parameter e is the instance of the checkbox
object. I have tried to use e.getParent() but it gives me 'undefined'.

Please, I have been trying this for the whole day... Could anybody help me?

Thanks a lot!
Arturo.
-- 
View this message in context: 
http://www.nabble.com/Recursive-checking-unchecking-in-treefullcontrol-with-checkboxes-tf3021720.html#a8392532
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to