show(show, includeHeader)
show(show, includeHeader)
Show or hide the control content.
Parameters:
-
show
(boolean): whether to show (true
) or hide (false
) the content. -
includeHeader
(boolean): (optional) whether to also show or hide the panel header bar with the title and buttons, as specified by theshow
parameter; applies only to panel controls, such as form or report grid.
Example:
Hide the form content, but do not hide the form header bar.
this.employeeForm.show(false, false);
Completely hide the form.
this.employeeForm.show(false, true);