I noticed in the DemoBrowser that the TreeColumns example showedthe exact 
functionality I was looking for.It added checkbox functionality to the Tree 
implementation.Now I wanted to go one step further andextend the CheckBox 
widget and add some new properties to store some data. So I created the 
following basic class to try this out:

qx.Class.define("analysis.ui.CheckNode",
{
extend : qx.ui.form.CheckBox,

properties :
{
testValue : { nullable : true }
}
});

And in mytree creation code, I changed my checkbox definition from 
‘qx.form.CheckBox’ to‘analysis.ui.CheckNode’.Mygetter/setter methods work fine, 
however in the tree that gets generated thecheckbox changed to the default tree 
file image. Any insight would be helpful.Below is the excerpt from the 
TreeColumnsexample function configureTreeItem.

varcheckbox = new analysis.ui.CheckNode;
checkbox.setFocusable(false);
checkbox.setTestValue("TEST");
console.log(checkbox.getTestValue());
treeItem.addWidget(checkbox);

Matthew Devine



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to