Hi,
I am not able to lock the item by writing locked=“1” in the XML file.
Also I have included the dhtmlxtree_li.js file on the page.
like :
Following is the XML file :
<?xml version='1.0' encoding='iso-8859-1'?>
I am not able to lock the item by writing locked=“1” in the XML file.
Please check attached sample, it uses exactly the same XML and lock works for item marked in XML - it become non-operable. ( beware that “locked” doesn’t mean non-closable, or that related checkbox will be disabled - such behaviors controled by separate options )
1216815183.zip (48.6 KB)
Hi,
I think you didnt understand.
1) I mean to say that if I add “locked=1” then that item and its child items should not be visible or modifiable.
Please see the attached file;
In this there are two nodes : Manoj Inst and Manoj Retail and I need to lock first node i.e “Manoj Inst” so user can not change or see its childs.
tree_radio.xml.zip (808 Bytes)
should not be visible
Such functionality can’t be achieved with item locking.
Please check attached sample, it shows how necessary behavior can be achieved through in-tree events.
1216824831.zip (47.4 KB)