setComponentMode (XSPContext - JavaScript)

Sets the mode of a component.

Defined in

XSPContext (JavaScript)

Syntax

setComponentMode(mode:string)

setComponentMode(mode:string, cancel:boolean)

Return value Description
mode The component mode: view, edit, or help.
cancel Indicates if the mode is changed through a cancel button.