How to rename tree node value by using context menu?

Hi,

I want to rename the value of the tree node by using the context menu rename.
May I have the solution for it?

Thanks

Hello, @NaingOo

To get the moment the menu item has been clicked, please, use onMenuItemClick event. It will provide information about the context and the selected option. Then you would be able to change the data properties of the Item. More information is here.
Please, check the snippet: Code Snippet

Hello, @AlenaLisava

Thanks for your reply,