GeoPrisma logo


Widget that displays features attributes (fields) in a Ext.grid.GridPanel. One feature can be selected and opened in a custom form. Each attribute (field) that has to be displayed in the form must be defined in the options of the widget. In addition, the field must also be defined in the corresponding DataStore.

There must be an featurepanel_selector for each resources that are to be shown.

The following widgets can use the FeaturePanel_Selector widget (using the <featurepanel> tag option if only one or <featurepanel> inside <featurepanels> if more than one) :

XML Sample

Sample configuration


drawWidgets Sample

The widget must be drawn with the drawWidgets function. See drawWidget / drawWidgets.

Can be drawn in a Ext.Panel or Ext.Window.

Mandatory Options

fid:String. The primary key for this resource.
 The name of the field, as defined in the DataStore. Can be non-existant (in which case you should use “key” in the type node)
 The type of the field. Insert “value” to print the value of the field, “key” to print the name of the field

Optional Options

width:Integer. The width of the template window. Default to 500.
height:Integer. The height of the template window. Default to 500.
template:String. The path to a custom form file. Mandatory if ‘method’ is undefined.
method:String. The reference to a custom function returning a new instance of an Ext.Container. Mandatory if ‘template’ is undefined.

Resources Options

selectorTitle:(String) Optional. Sets title column’s value. Supports i18n (internationalization).

Service Type


Widget Action


Table Of Contents

Previous topic


Next topic


This Page