I want to do this in Javascript:
...however even though node.get_visible() correctly returns false after this code, the node is still physically visible. Is there a way to create a new node in Javascript and make it invisibile?
Cheers,
Nuri
var node = new Telerik.Web.UI.RadTreeNode() |
node.set_text(""); |
node.set_value(""); |
node.set_visible(false); //this doesn't work |
node.get_element().style.display='none' //nor does this |
ProductTree.get_nodes().add(node); |
...however even though node.get_visible() correctly returns false after this code, the node is still physically visible. Is there a way to create a new node in Javascript and make it invisibile?
Cheers,
Nuri