I’ve been searching around trying to find an answer for this, but so far cannot figure it out.
I have a tree and a right-click context menu with two levels of child nodes. When clicking one of the options, I have a specific function that executes. This all works fine. But when that function executes, I’d like to change the text of that child context menu item to show that it has been executed.
I see there is setItemText(mixed itemId,string text), but if I use this, it changes the menu for ALL nodes.
I’m looking more for something like setItemText(parentID,itemID,string text).
Is there anyway I can accomplish this?