CA Technologies Prerelease Documentation. Authorized Use Only.
The lsCol macro specifies a column on a list form. You define the contents of a list form with the lsStart, lsCol, and lsEnd macros. You can optionally include lsWrite and lsExport macros. For example:
<PDM_MACRO name=lsStart. . .> <PDM_MACRO name=lsCol . .> <PDM_MACRO name=lsCol . .> <PDM_MACRO name=lsWrite . .> <PDM_MACRO name=lsCol . .> . . . <PDM_MACRO name=lsEnd>
HTML for the entire list is output by the lsEnd macro. The other list macros save information used by lsEnd to generate the list.
This macro has the following properties:
(Required) Specifies the name of the attribute associated with the control.
Specifies the number of columns on the form.
Note: This property is not used and is ignored. This property is retained for compatibility with previous releases.
Specifies whether the column contains an SREL attribute. The common name of the referenced table when the list is exported replaces the attribute value.
Specifies whether to display HTML entities (for example, & or 晽 in read-only view. This property has the following values:
Specifies the column from the referenced table that is displayed on the list for columns containing an SREL attribute. This property is ignored for columns that are not SRELs.
Specifies how the value of the column is escaped. This property has the following values:
Specifies whether this column is exported when the user clicks the Export button.
Specifies the default header text. The list result export uses this property.
Specifies the name of a JavaScript function (without parentheses) that returns a string format code which controls formatting the column when it is exported. This property has the following function values:
Specifies the header for the column when it is exported. You can specify the value as explicit text, or as the keyword value DISPLAY_NAME, which sets the header to the value of export_hdr_default.
Specifies the text of the export column header when exportHdr has the keyword value DISPLAY_NAME. You rarely must specify this property, which defaults to the display name of the attribute for the column.
Specifies the name of a JavaScript function that formats the field for display. The function is passed as a single argument containing the value of the attribute, and must return a string that is displayed on the form.
Specifies the text of the caption on the control; defaults to the DISPLAY_NAME of the attribute associated with the control.
Specifies whether the column is invisible. A hidden column can be useful for Edit in List or export.
Specifies a JavaScript variable containing the URL of an image to display in the column. Set the JavaScript variable with a preceding lsWrite macro.
Specifies the position of content within the columns.
Specifies whether HTML links (Action: tags) are displayed as links or formatted as raw text. Preserves HTML links when the text to display contains HTML links. The default value is no.
Specifies whether HTML tags are interpreted as HTML links or formatted as raw text. keeptags=yes overrides the keeplinks property.
Specifies text for a label positioned to the left of data.
Specifies whether the control on the read-only view is a link to detail for the value of the attribute.
Specifies the maximum number of characters to display in column.
Specifies whether to suppress wrapping of text in a call. When you specify nowrap=yes, text for the column is not permitted to wrap to multiple lines.
Specifies whether text must appear in the column. When you specify required=yes and the attribute has no value, its value is replaced with "Not Available."
Specifies the sort sequence of the list when a user clicks the column as follows:
Specifies whether the column is the first one in the expansion section. This property works as follows:
Specifies CSS formatting for the column.
Specifies an additional identifier to distinguish between columns with the same attribute. This property is not intended for customer use.
Specifies the maximum width of a column.
|
Copyright © 2012 CA.
All rights reserved.
|
|