ListItem

Class: esri/widgets/TableList/ListItem
Since: ArcGIS API for JavaScript 4.17

In the TableList widget UI, the ListItem represents a layer's table added to the widget. It provides access to the associated properties and allows the developer to configure actions related to the table, and allows the developer to add content to the item related to the table.

See also:

Property Overview

Name Type Summary Class
Boolean

Indicates whether the actions panel is open in the TableList.

more details
more detailsListItem
Collection<Collection<(ActionButton|ActionToggle)>>

A nested 2-dimensional collection of actions that could be triggered on the item.

more details
more detailsListItem
Error

The Error object returned if an error occurred.

more details
more detailsListItem
Layer

The layer associated with the triggered action.

more details
more detailsListItem
String

The title of the table.

more details
more detailsListItem

Property Details

actionsOpen Boolean

Indicates whether the actions panel is open in the TableList.

Default Value:false
Autocasts from Object[][]

A nested 2-dimensional collection of actions that could be triggered on the item.

error Errorreadonly

The Error object returned if an error occurred.

layer Layer

The layer associated with the triggered action. This must be a FeatureLayer whose isTable property returns true. For more information regarding working with tables, please refer to Map.tables.

Default Value:null
See also:
title String

The title of the table.

Method Overview

Name Return Type Summary Class
ListItem

Creates a deep clone of this object.

more details
more detailsListItem

Method Details

clone(){ListItem}

Creates a deep clone of this object.

Returns:
Type Description
ListItem A clone of the new ListItem instance.