Edit Tree

Hi

Is there anyway to make a tree node editable on double click? Rather than just when its first selected.

Thanks

Answered my own question. For anbody else

Create editable tree view -

webix.protoUI({	name:"edittree" }, webix.EditAbility, webix.ui.tree);

Then specify the following attributes in the tree

var category_tree = {
	view: "edittree", // *** NOTICE TYPE ***
	id: "category_tree",
	select: true,
	editable:true,
            editor:"text",
            editValue:"value",
	editaction:"dblclick",  // The magic source :)
	};

Sorry for the poor example, I didn’t have time to make a working Snippet…