Skip to content
Types
import type { EditableColumnTemplateMixin } from "@arcgis/core/widgets/FeatureTable/support/EditableColumnTemplateMixin.js";
Subclasses:
ColumnTemplate, FieldColumnTemplate
Since
ArcGIS Maps SDK for JavaScript 4.24

Properties

PropertyTypeClass

editable

Property
Type
boolean

Indicates whether the field is editable. Editing permissions can be broken down with the following levels of priority:

  1. Field - This is derived from the FeatureLayer or SceneLayer. It takes what is set in the Field.editable property. This must always be true for editing to be enabled. This can be overridden using a field column template.
  2. Template - The editable permissions on a field can be configured by setting the FieldColumnTemplate.editable property of the FieldColumnTemplate.
  3. FeatureTable - The FeatureTable.editingEnabled property must be set on the table in order for any type of editing to be enabled.

For example, if table editing is disabled in the widget, i.e. enableEditing is not set, it is still possible to enable editing for a specific column by setting the FieldColumnTemplate.editable property. Vice versa is also true, if table editing is enabled, a field template can be used to disable editing for a specific column.

Ultimately, if the service's field is not editable, it is not possible to override its permissions using one of the options above.

See also
Default value
true

required

Property
Type
boolean

Indicates whether a field requires a value.

Default value
false