Hi,
I want to hide some options in context menu of delete and clone (node Items ) on specific nodes.
Eg.
If i right clicked on 'select file' node , then i want to hide or remove Delete and 'select number' options in the context menu .
*I have added some options in context menu by using 'nodeItems' property in context menu plugin as follows -
nodeItems: { 'select File'() { self.CreateFile(); }, 'select Number'() { self.CreateNumber(); }, 'select Web Book'() { self.CreateWebBook(); }, 'Delete All connected'() { self.removeOutputNodes(self.rootnode); },
Is there any way to do it ?
Thanks.
Hi, I want to hide some options in context menu of delete and clone (node Items ) on specific nodes. Eg.
If i right clicked on 'select file' node , then i want to hide or remove Delete and 'select number' options in the context menu . *I have added some options in context menu by using 'nodeItems' property in context menu plugin as follows -
nodeItems: { 'select File'() { self.CreateFile(); }, 'select Number'() { self.CreateNumber(); }, 'select Web Book'() { self.CreateWebBook(); }, 'Delete All connected'() { self.removeOutputNodes(self.rootnode); },
Is there any way to do it ? Thanks.