Types
import type { EditableColumnTemplateMixin } from "@arcgis/core/widgets/FeatureTable/support/EditableColumnTemplateMixin.js";- Subclasses:
- ColumnTemplate, FieldColumnTemplate
- Since
- ArcGIS Maps SDK for JavaScript 4.24
Properties
editable
Property
- Type
- boolean
Indicates whether the field is editable. Editing permissions can be broken down with the following levels of priority:
- Field - This is derived
from the FeatureLayer or SceneLayer. It takes what is set in the
Field.editable property. This
must always be
truefor editing to be enabled. This can be overridden using a field column template. - Template - The editable permissions on a field can be configured by setting the FieldColumnTemplate.editable property of the FieldColumnTemplate.
- 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.
- Default value
- true