Is it possible to extend the yahoo tree widget so that you get a checkbox next to each item in the tree? I want to be able to select/deselect items from the tree, and change the datamodel based on the selection.
This level of customization would require you modify the yahoo/tree/component.js file. While not too hard to do you would then be limited to what the yahoo tree API allows.
Yahoo has detailed documentaiton about this here:
If you provide a re-usable solution that might be able to use we'd love to have you contribute them back to the project.
Thanks for your reply Greg!
I will look into the customtypes at the yahoo site. This example is what I need implemented as a jMaki widget: http://developer.yahoo.com/yui/examples/treeview/check.html
I will first play with the yahoo version, and when I understand how it's working, I will (hopefully) be able to create a reusable solution that can be contributed to the jMaki project :)
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.