User Manual

10.04.2024

MANUAL

Developer Function: Server Script: siteSettings.Sections

## Overview This is the "Sections Object" of the "siteSettings object". This is a method to change the "[Section](/en/manual/table-management-tab-and-section)" settings in the "[Server Script](/en/manual/table-management-server-script)". ## Properties |No|Property name|Type|Change|Description| |:--|:----------|:--|:---:|:---------------------------| |1|Id|int|No|ID of the target section| |2|LabelText|string|Yes|Label name of the target section| |3|AllowExpand|bool|Yes|Specify whether to allow section folding| |4|Expand|bool|Yes|Specify the default display| ## Usage Example 1 In the following example, the ID of the first section is set to NumA. ##### JavaScript ``` model.NumA = siteSettings.Sections[0].Id; ``` ## Usage Example 2 The following example sets the LabelText (Input column) for the second section. ##### JavaScript ``` siteSettings.Sections[1].LabelText = 'Input column'; ``` ## Usage Example 3 The following example sets AllowExpand (allow) for the first section. ##### JavaScript ``` siteSettings.Sections[0].AllowExpand = true; ``` ## Usage Example 4 The following example sets the default display (close) of the second section. ##### JavaScript ``` siteSettings.Sections[1].Expand = false; ``` ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/table-management-tab-and-section">Manage Table: Editor: Organize Screen by Adding Tabs and Collapsing Sections, etc.</a><span>10.08.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.