Table Of Contents

Previous topic

gxp.EmbedMapDialog

Next topic

gxp.FillSymbolizer

gxp.FeatureEditPopup

xtype
gxp_featureeditpopup
class gxp.FeatureEditPopup(config)
Create a new popup which displays the attributes of a feature and makes the feature editable, using an OpenLayers.Control.ModifyFeature.

Config Options

Configuration properties.

allowDelete
Boolean Set to true to provide a Delete button for deleting the feature. Default is false.
dateFormat
String Date format. Default is the value of Ext.form.DateField.prototype.format.
editing
Boolean Set to true to open the popup in editing mode. Default is false.
excludeFields
Array Optional list of field names (case sensitive) that are to be excluded from the editor plugin.
feature
OpenLayers.Feature.Vector``|``GeoExt.data.FeatureRecord The feature to edit and display.
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.
timeFormat
String Time format. Default is the value of Ext.form.TimeField.prototype.format.
vertexRenderIntent
String renderIntent for feature vertices when modifying. Undefined by default.

Public Properties

Public properties.

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