ui.Dialog.setActionHidden
Showing or hiding a default action view.
Syntax
setActionHidden(
name STRING,
hidden BOOLEAN )
- name is the name of the action, see Identifying actions in dialog methods.
- hidden is a boolean value.
Usage
Use the
setActionHidden()
method to hide the default view (and context menu option) of an
action.CALL DIALOG.setActionHidden( "confirm", TRUE )
The first parameter identifies the action object of the dialog.
Important:
This method will only affect the rendering of the default
view for the specified action. Explicit action views (such as buttons in the form layout) will not
get the new attribute value.