Radio buttons tree
The following method allows you to enable radio buttons for the entire tree.
Get list of checked |
The following method allows you to enable radio buttons for the entire tree.
Get list of checked |
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxtree.css"> <script src="../../codebase/dhtmlxcommon.js"></script> <script src="../../codebase/dhtmlxtree.js"></script> <table> <tr> <td valign="top"> <div id="treeboxbox_tree" style="width:250px; height:218px;background-color:#f5f5f5;border :1px solid Silver;"></div> </td> <td style="padding-left:25" valign="top"> <br> <a href="javascript:void(0);" onClick="alert(tree.getAllChecked());">Get list of checked</a><br><br> </td> </tr> </table> <br> <script></script> <br><br>tree = new dhtmlXTreeObject("treeboxbox_tree", "100%", "100%", 0); tree.setSkin('dhx_skyblue'); tree.setImagePath("../../codebase/imgs/"); tree.enableRadioButtons(true); tree.enableSmartXMLParsing(true); tree.loadXML("../common/tree_radio.xml");