User Manual

06.05.2024

MANUAL

開発者向け機能:サーバスクリプト:siteSettings.Sections

This page is in Japanese only.
Please wait for the English translation.

The Japanese version of the manual is the latest.
Please also check.
## 概要 「siteSettingsオブジェクト」の「Sectionsオブジェクト」です。[サーバスクリプト](/ja/manual/table-management-server-script)で[セクション](/ja/manual/table-management-tab-and-section)の設定を変更するメソッドです。 ## プロパティ |No|プロパティ名|型|変更|説明| |:--|:----------|:--|:---:|:---------------------------| |1|Id|int|×|対象セクションのID| |2|LabelText|string|〇|対象セクションのラベル名| |3|AllowExpand|bool|〇|セクションの折りたたみを許可を指定| |4|Expand|bool|〇|既定の表示を指定| ## 使用例① 以下の例では、1つ目のセクションのIDをNumAに設定します。 ##### JavaScript ``` model.NumA = siteSettings.Sections[0].Id; ``` ## 使用例② 以下の例では、2つ目のセクションのLabelText(入力項目)を設定します。 ##### JavaScript ``` siteSettings.Sections[1].LabelText = '入力項目'; ``` ## 使用例③ 以下の例では、1つ目のセクションのAllowExpand(許可)を設定します。 ##### JavaScript ``` siteSettings.Sections[0].AllowExpand = true; ``` ## 使用例④ 以下の例では、2つ目のセクションの既定の表示(閉じる)を設定します。 ##### JavaScript ``` siteSettings.Sections[1].Expand = false; ``` ## 関連情報 <div id="ManualList"><ul><li><a href="/en/manual/table-management-tab-and-section">Table Management: Editor: Organize Screen by Adding Tabs and Collapsing Sections, etc.</a><span>08.13.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> <ul><li><a href="/en/manual/server-script">Developer Function: Server Script</a><span>08.14.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/faq-server-script-log">FAQ: I want to output the error log of a server script</a><span>08.14.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.