I’d like to create a tree with checkboxes within YUI 3.5 like this:
|v|1
--| |1.1
--| |1.2
| |2
— after 1.2 and 2 were checked;
|v|1
--| |1.1
--|v|1.2
-----| |1.2.1
|v|2
--| |2.1
|v| — checked;
| | — unchecked
Found yui3.5 docs a little bit strange because that’s all i’ve managed to found about checkboxes.
Nothing about single checkbox element nor about tree in YUI 3.5.
So, the question: where can i find some info about checkbox, checkbox’s listener or checkbox-tree?
P.S.
Sorry for my English and thanks in advance.
This is not relevant as it references to yui2, extjs and jquery.
Everything was pretty easy.
Y.Node.create("html-code-here");— to create a selectbox.To build described tree: observe the checkboxes for changes to hide/show nearest children.
My [show / hide] actions looked like toggling css styles for appropriate selectboxes:
display: block;<->display: none;Though it’s probably not the answer i would had been looking for i’ll leave it as this was my solution.