Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ruquia on Dec 21, 2008 21:08
open dhtmlx forum
Disable tree node

how do i disable tree node ,the tree is attached to an accordian as
var tree = dhxAccord.cells("a1").attachTree();

 tree.loadXML("../ReportTree.xml");

 

 

ReportTree.xml is

<?xml version="1.0" encoding="iso-8859-1"?>
<tree id="0" radio="1">
 <item   text="Reports" id="reports" >
  <item text="Customer Details(CF)" select="1" open="1" id="custdetails">
  
  </item>
  <item text="Reg/UnReg Properties"  id="regproperty">
  </item>
  
  <item text="Top 50"  id="top50">
  </item>
  
  <item text="BDR"  id="bdr">
  </item>
  
 </item>
</tree>


i want to disable node Top 50 during office hours 6am to 6pm , please suggest  me sonmething

 

 

Answer posted by Support on Dec 22, 2008 03:43
You can use dhtmlxtree_li.js extension and 
       <item text="Top 50" id="top50" locked="true">