Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use the <previewList> tag to display table items as a customizable list.

Available attributes:

applied should data of the Conditions type containing on the list view name used. The default value is Default '' containing list containing containing list 'true' to set up the full view '' to Specify the list header
AttributeTypeMandatoryDescription
classStringNSpecify a CSS class name defined in the CSS field of the widget.
conditionStringN

Specify a condition

to apply to the list. This attribute

must contain

a condition string.

tableNameStringYSpecify a table that contains output items to display. 
viewStringNSpecify a list view to use. Note that first you need to create this view in the List Views (sys_ui_list) table.
elementCountStringNSpecify the number of page items. If not specified, then equal to 5 by default. 
subjectColumnStringNSpecify a table column that contains item subjects.
dateColumnStringNSpecify a table column that contains dates related to list items. 
stateColumnStringNSpecify a table column that contains item states.
transparentBooleanN

Set this attribute to

true to change the style of the list and make its background transparent. It is false by default.

wrapBooleanNSet this attribute to true to set up the quick view. It is false by default.
itemViewStringNSpecify the view used for item rendering.ListHeaderStringN

To display the table header, specify it in the <ListHeader> child tag, as in the example below.

Code Block
languagexml
titlepreviewList
linenumberstrue
<previewList tableName="announcement" view="AnnounceView" elementCount="3" subjectColumn="subject" dateColumn="sys_created_at" stateColumn="state" wrap="true" itemView="announceView"><ListHeader><div>Announcements</div></ListHeader></previewList>