0

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?

davejal
  • 6,009
  • 10
  • 39
  • 82
Ram
  • 25
  • 4

1 Answers1

0

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
        },
scott dickerson
  • 908
  • 1
  • 5
  • 13