Hello,
we are using Infragistics 2007 (version: 7.1.20071.40) and .NetFramework 2.0 in our application.
We have a requirement of having "disabling checkbox of a node alone" in the Ultra Web tree.
(The node should shown as disabled but it should be expanded).
Hope you got my requirement.Please let us know the properties we have to use so that
we can fulfill our requirement.
Thanks in advance
Hello ,
My issue is that i need to node to be disabled (Checkbox only) but can be expanded can you help ?
Thank you,
You can use the property CheckBox="True" of ignav:Node tag to set check box. Also you can set property Expanded=true to show expanded node. For handle the node checking event you can use the client side events of the tree <ClientSideEvents NodeChecked="IsChecked" /> and use the JS code.<script type="text/javascript"> function IsChecked(treeId, nodeId, check) { var tree = igtree_getTreeById(treeId); var node = igtree_getNodeById(nodeId); node.setEnabled(false); //Disable the node node.setExpanded(true); // Expand programmatically node on client side // debugger; } </script>
Hope this helps.