I have a stock tree, have the nodes set up as editable, have the save hooked up properly. This all works.
I also have a fully custom ContextMenu. I build this at runtime (I have to, because of my custom rights framework).
Is there any way to invoke editing on a node in xamDataTree? I just want to be able to say, from a context menu event handler (ooh, I don't know, from the "Edit" command in that context menu)... "start editing this node". I just want to drop it into the standard text editing mode for that node. In-place.
Hello Sjoerd,
I am just checking if you require any further assistance on this matter,
Best regards,
Anatoli Iliev
Hi Sjoerd,
A possible solution is to set editing settings as follows:
<ig:XamDataTree.EditingSettings>
<ig:TreeEditingSettings AllowEditing="True" IsOnNodeActiveEditingEnabled="True" />
</ig:XamDataTree.EditingSettings>
After that in code behind, for example in your MenuItem.Clicked event handler you can put the code that activates a node:
this.igDataTree.Nodes[2].IsActive = true;
Please let me know if this works for you.