listView - iNotes® List View

Displays a view as an iNotes® list view.

Category

iNotes®

Syntax

<xe:listView attributes>content</xe:listView>
Table 1. Essential properties
Property Description
id Defaults to listView1, listView2, and so on.
storeComponentId Binds the control to a storage component such as a REST service that accesses a view.
showColumnNameForEmptyTitle Uses the column titles in the storage component where column titles are not specified in child iNotes® List View Column objects.
Table 2. All properties
Category Properties
basics binding, id, jsId, loaded, rendered, rendererType, storeComponentId, structureComponentId
events onCellClick, onCellDblClick, onContextMenu, onDeleteEntry, onNewEntry, onOpenEntry, onSelectEntry, onSortChanged
styling alternateRows, canBeNarrowMode, disableTheme, hideColumns, showColumnNameForEmptyTitle, style, styleClass, themeId

Usage

You must explicitly include the columns to be displayed. See iNotes® List View Column.

This control is not tested against the latest accessibility standards. The recommended accessible path is the Data Table control.

Examples

This example displays three columns from the AllContacts view in the current application.
<xe:restService id="restService2">
	<xe:this.service>
		<xe:viewJsonService defaultColumns="true"
			viewName="AllContacts">
		</xe:viewJsonService>
	</xe:this.service>
</xe:restService>
<xe:listView id="listView1"
	storeComponentId="restService2">
	<xe:listViewColumn id="listViewColumn3"
		columnName="FirstName" columnTitle="First Name" >
	</xe:listViewColumn>
	<xe:listViewColumn id="listViewColumn2"
		columnName="LastName" columnTitle="Last Name">
	</xe:listViewColumn>
	<xe:listViewColumn id="listViewColumn1"
		columnName="EMail" columnTitle="Email">
	</xe:listViewColumn>
</xe:listView>