I’ve in my menu an item with children.
Example:
[code]{
“caption”: “Parent Item”,
“children”:
{"caption": "Child Item 1", "command": "child", "args": {"sub": "one"}},
{"caption": "Child Item 2", "command": "child", "args": {"sub": "two"}},
{"caption": "Child Item 3", "command": "child", "args": {"sub": "three"}}
]
},
[/code]
I can enable/disable all the child item with “is_enabled” in command “child”. But also if the childs are disabled - the parent item is enabled. Exists a way to enable/disable the parent item too?