I am working on Anywhere 7.5.2 - work execution app. I tried to disable a button from handlers eventContext.setDisplay(false)
and I tried with eventContext.setEditable(false)
but couldn't do the same.
How could I achieve this?
I am working on Anywhere 7.5.2 - work execution app. I tried to disable a button from handlers eventContext.setDisplay(false)
and I tried with eventContext.setEditable(false)
but couldn't do the same.
How could I achieve this?
Here's an example of how to disable the button in an event handler on the renderevent.
renderWorkHandler: function(eventContext){
// renderWorkHandler
eventContext.getBaseWidget().domNode.disabled=true
},