-
I have a menu with a menu item called �Rename� �
when I click that my folder should be in edit mode. suggest me how to do that.
After selecting a node and when I click delte key I need to call a function �
please give me a example.
I have a menu with a menu item called �Rename� �
when I click that my folder should be in edit mode. suggest me how to do that.
After selecting a node and when I click delte key I need to call a function �
please give me a example.
menu.setOnClickHandler
(user defined function will receive a menuItem id and
tree item id as first and second parameters.)
and on clicking Rename button call next code for tree
tree.editItem(tree_item_id);
2. There are no such functionality available by default.
But you can extend existing keyboard_navigation functionality.
dhtmlXTreeObject.prototype._onkey_delete=function(){
//your onDelete code
}
tree.assignKeys([[“delete”,key_code_of_delete_key]]);