User Manual

10.04.2024

MANUAL

Developer Function: Server Script: elements.DisplayType

## Overview "[Server Script](/en/manual/table-management-server-script)" controls the display state of buttons added in "Navigation Menu", "Command Buttons", and "[Process](/en/manual/advanced-operations-process)". ## Limitations 1. Can be applied to the "Navigation Menu" at the top of the screen, the "Command Buttons" at the bottom of the screen, and buttons added in "[Process](/en/manual/advanced-operations-process)". 1. Cannot be applied to the back button. 1. Cannot set "2: Disabled" to the navigation menu. 1. This is valid when the "「Condition」" in the server script is "Before Screen Display". ## Syntax ``` elements.DisplayType(id, displayType); ``` ## Parameter |Parameter|Type|Required|Overview| |:----------|:----------|:---:|:---------------------------| |id|string|Yes|HTML ID attribute| |displayType|int|Yes|0: Standard/1: None/2: Disabled/3: Hidden| ## Return Value There is no return value. ## Usage Example 1 In the following example, by specifying displayType as 1, the HTML for the help menu will not be output. ##### JavaScript ``` elements.DisplayType('HelpMenuContainer',1); ``` ## Usage Example 2 In the following example, the Delete button is disabled by specifying displayType as 2. ##### JavaScript ``` elements.DisplayType('DeleteCommand',2); ``` ## Usage Example 3 In the following example, by specifying displayType as 3, the button (ID: 1) added in [Process](/en/manual/advanced-operations-process) will be hidden. ##### JavaScript ``` elements.DisplayType('Process_1',3); ``` ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/advanced-operations-process">Advanced Operation: Process and Control by Status</a><span>10.01.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.