gxp.plugins.FeatureEditorForm

Extends
xtype
gxp_editorform
ptype
gxp_editorform
class gxp.plugins.FeatureEditorForm(config)

Plugin for editing feature attributes in a form.

Config Options

Configuration properties in addition to those listed for Ext.Panel.

excludeFields

Array Optional list of field names (case sensitive) that are to be excluded from the editor plugin.

feature

OpenLayers.Feature.Vector The feature being edited/displayed.

fieldConfig

Object An object with as keys the field names, which will provide the ability to override the xtype that GeoExt.form created by default based on the schema. When using a combo xtype, comboStoreData can be used to fill up the store of the combobox. Example is : [[‘value1’, ‘display1’], [‘value2’, ‘display2’]]

fields

Array List 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

Object Property name/display name pairs. If specified, the display name will be shown in the name column instead of the property name.

readOnly

Boolean Set to true to disable editing. Default is false.

schema

GeoExt.data.AttributeStore Optional. If provided, available feature attributes will be determined from the schema instead of using the attributes that the feature has currently set.