Rename file or folder with dhtmlxfolder


Could you please say me how rename file or folder with dhmlxfolder. I found to move, delete but not rename.

You can enable editability as


and switch currently active item to edit state by


Also you can change value programmatically, as

var data = folders.getItemDataObject(id);
data.text = “some new”; //set new value
folders.getItem(id).render(); //update item in view