Skip to main content

beforeShow

fires before a control is shown

beforeShow: (value: undefined) => boolean | void;

Parameters:

value: undefined - the current value of the control, null

Returns:

Return false to prevent a control from being shown; otherwise, true.

Example

form.getItem("spacer").events.on("BeforeShow", function(value) {    console.log("BeforeShow", value);    return true;});