Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Velmurugan on Aug 07, 2009 00:49
open dhtmlx forum
how to make node editable immediatly when i click the edit menu from context menu in a tree?

Hi,
In my tree, i am trying to edit my node. i have to right click the node, it will show the context menu with edit option. by clicking the edit menu, and double click the node, it is converting edit mode. but my requirement is once i click the edit menu from context menu, it should directly convert into edit mode. I dont want to double click. how to do that? please help me?


Thanks,
Vel
Answer posted by Alex (support) on Aug 07, 2009 01:10

Hello, 

you can call editItem method:

tree.editItem(itemId);