import ColumnVisibilityMenuVisibleElements from "@arcgis/core/widgets/FeatureTable/ColumnVisibilityMenuVisibleElements.js";const ColumnVisibilityMenuVisibleElements = await $arcgis.import("@arcgis/core/widgets/FeatureTable/ColumnVisibilityMenuVisibleElements.js");- Inheritance
- ColumnVisibilityMenuVisibleElements→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.1
Controls the visibility of specific elements within the column visibility menu.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| 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.
filter
Property
- Type
- boolean
Indicates whether to display the filter in the column visibility menu.
- Default value
- true
header
Property
- Type
- boolean
Indicates whether to display the header of the column visibility menu.
- Default value
- true
toggleAll
Property
- Type
- boolean
Indicates whether to display the toggle to show or hide all columns.
- Default value
- true