control visibility of buttons...
control visibility of buttons...
stevencmon
Posts: 25Questions: 9Answers: 2
in Editor
I want, depending on a given role to 1) only view the data, 2) only view and create new data, or 3) view, create and edit data.
Is there an easy way to variably control button visibility?
This discussion has been closed.
Replies
Buttons has a couple of API that you might be able to use. Checkout
button().enable()
andbutton().disable()
. Also look atbutton().add()
andbutton().remove()
.Kevin
just what I needed. thx.