columns
Overview¶
Get and edit the settings of "Column" with "Server Script". You can set "Cell CSS" for the "Screen Index" and "Field CSS" and "Extended HTML" for the "Editor".
Properties¶
| No | Name | Get | Set | Type | Description |
|---|---|---|---|---|---|
| 1 | ExtendedCellCss | Yes | Yes | string | "Cell CSS" |
| 2 | ExtendedFieldCss | Yes | Yes | string | "Field CSS" |
| 3 | ExtendedControlCss | Yes | Yes | string | "Control CSS" |
| 4 | ExtendedHtmlBeforeField | Yes | Yes | string | Before the "Extended HTML" field |
| 5 | ExtendedHtmlBeforeLabel | Yes | Yes | string | Before the "Extended HTML" label |
| 6 | ExtendedHtmlBetweenLabelAndControl | Yes | Yes | string | Between the label and control of "Extended HTML" |
| 7 | ExtendedHtmlAfterControl | Yes | Yes | string | After the "Extended HTML" control |
| 8 | ExtendedHtmlAfterField | Yes | Yes | string | After the "Extended HTML" field |
| 9 | Hide | Yes | Yes | bool | "Hidden" |
| 10 | ValidateRequired | Yes | Yes | bool | "Input Required" |
| 11 | RawText | Yes | Yes | string | Replace the value of the column on the Screen Index |
| 12 | ReadOnly | Yes | Yes | bool | "Read Only" |
Methods¶
| No | Name | Description |
|---|---|---|
| 1 | AddChoiceHash | Set the "Option List" of the "Column" dynamically. |
| 2 | ClearChoiceHash | Clear the "Option List" of the "Column". |
Usage Example 1¶
In the following example, ClassA (Classification A) will be hidden.
JavaScript (server script)¶
Usage Example 2¶
In the following example, DescriptionA will be made read-only.
JavaScript (server script)¶
Usage Example 3¶
The following example outputs ABC in red in the ClassA cell of the "Screen Index". The condition must be specified before the row display. HTML tags can be inserted.
JavaScript (server script)¶
Supported Versions¶
ValidateRequired¶
- Pleasanter 1.2.15.0 or later
- Pleasanter .NET Framework version 0.50.278 or later
ExtendedHtmlBeforeLabel / ExtendedHtmlBetweenLabelAndControl / ExtendedHtmlAfterField¶
- Pleasanter 1.1.38.0 or later
- Pleasanter .NET Framework version 0.50.262 or later
Related Information¶
- Manage Table: Server Script
- Table Function: Record Screen Index
- Manage Table: Editor: Column Advanced Settings: Field CSS
- Manage Table: Editor: Column Advanced Settings: Extended HTML
- Manage Table: Editor
- Manage Table: Editor: Column Advanced Settings: Control CSS
- Manage Table: Editor: Column Advanced Settings: Hidden
- Manage Table: Editor: Column Advanced Settings: Input Required
- Manage Table: Editor: Column Advanced Settings: Read-only
- Developer's Guide: Server Script: columns.AddChoiceHash
- Manage Table: Editor: Column Advanced Settings: Option List
- Developer's Guide: Server Script: columns.ClearChoiceHash