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

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.

clearSelection

Property
Type
boolean

Indicates whether to display the Clear selection menu item. Default value is true and will display within the menu if any rows are selected.

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.

deleteSelection

Property
Type
boolean

(Since 4.25) Indicates whether to display the Delete Selection menu item. Default value is true and will display if editingEnabled is true and enabled on the feature service and rows are selected.

Default value
true

exportSelectionToCSV

Property
Type
boolean

(Since 4.31) Indicates whether to display the Export selection to CSV menu item. Default value is true and will display if rows are selected. Geometry is included in the final export if the layer's geometry is of type point.

Default value
true

refreshData

Property
Type
boolean

Indicates whether to display the Refresh data menu item. Default value is true.

Default value
true

selectedRecordsShowAllToggle

Property
Type
boolean

(Since 4.23) Indicates whether to toggle between showing only selected records in the table to showing all of the records. Default value is true.

Default value
true

selectedRecordsShowSelectedToggle

Property
Type
boolean

(Since 4.23) Indicates whether to display the Show selected records menu item. Default value is true and will display within the menu if any rows are selected.

Default value
true

toggleColumns

Property
Type
boolean

Indicates whether to enable toggling column visibility within the menu. Default value is true.

Default value
true

zoomToSelection

Property
Type
boolean

(Since 4.23) Indicates whether to display the Zoom to selected menu item. Default value is true and will display within the menu if any rows are selected.

Default value
true