Skip to content
import VisibleElements from "@arcgis/core/widgets/FeatureTable/VisibleElements.js";
Inheritance:
VisibleElementsAccessor
Since
ArcGIS Maps SDK for JavaScript 5.0

The visible elements that are displayed within the widget. This provides the ability to turn individual elements of the widget's display on/off.

featuretable-visibleelements

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

columnDescriptions

Property
Type
boolean

Indicates whether to display descriptions in the header cells of individual columns. Default value is true.

Default value
true

columnMenuItems

autocast Property
Type
ColumnMenuVisibleElements

The menu items within the column menu.

columnMenus

Property
Type
boolean

Indicates whether to display interactive menus in the header cells of individual columns. Default value is true.

Default value
true

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

Property
Type
boolean

Indicates whether to display the feature table's header information. Default value is true.

Default value
true

layerDropdown

Property
Type
boolean

Indicates whether to display the feature table's layer switch drop down menu. Default value is false.

Default value
false

layerDropdownIcons

Property
Type
boolean

Indicates whether to display layer-specific icons in the layer drop down menu. Default value is true.

Default value
true
Property
Type
boolean

Indicates whether to display the feature table's menu. Default value is true.

Default value
true
autocast Property
Type
TableMenuVisibleElements

The menu items within the feature table menu.

pendingEditsFooter

Property
Type
boolean

Indicates whether to display the footer element while edits are pending. Default value is true.

Default value
true

progress

Property
Type
boolean

Indicates whether to display the progress indicator when the table is querying or syncing data. Default value is true.

Default value
true

selectionColumn

Property
Type
boolean

Indicates whether to display the selection column in the table. Each row has a checkbox that selects its corresponding feature. Default value is true. If working with a map, make certain to set the FeatureTable.view property as this enables highlighting the corresponding feature.

Default value
true

tooltips

Property
Type
boolean

Indicates whether to display the tooltip for the Show/hide columns button. Default value is true.

Default value
true