gxp.plugins.FeatureEditorGrid¶
-
class
gxp.plugins.FeatureEditorGrid(config)¶ Plugin for editing a feature in a property grid.
Config Options¶
Configuration properties in addition to those listed for Ext.grid.PropertyGrid.
-
excludeFields ArrayOptional list of field names (case sensitive) that are to be excluded from the editor plugin.
-
feature OpenLayers.Feature.VectorThe feature being edited/displayed.
-
fields ArrayList of field config names corresponding to feature attributes. If not provided, fields will be derived from attributes. If provided, the field order from this list will be used, and fields missing in the list will be excluded.
-
propertyNames ObjectProperty name/display name pairs. If specified, the display name will be shown in the name column instead of the property name.
-
readOnly BooleanSet to true to disable editing. Default is false.
-
schema GeoExt.data.AttributeStoreOptional. If provided, available feature attributes will be determined from the schema instead of using the attributes that the feature has currently set.