MAPPE DELLA SARDEGNA
sardegnamappe api  ›  api documentation  ›  classe
Class framework.widgets.search.FeatureGridPanel


Extends Ext.form.ComboBox.
Show features both in a grid and on the map and have them selectable.
Defined in: FeatureGridPanel.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Show features both in a grid and on the map and have them selectable.
Field Summary
Field Attributes Field Name and Description
 
api: config[autoConfig] Should the store and grid columns autoconfigure from loaded features?.
 
api: config[columnCapitalize] Should the column names be capitalized when autoconfig is true?
 
api: config[downloadable] ``Boolean`` Should the features in the grid be downloadble? Download can be effected in 3 ways: 1.
 
api: config[exportConfigs] The supported configs for formatting and exporting feature data.
 
api: config[exportFormats] Array of document formats to be used when exporting the content of a GFI response.
 
api: config[featureSelection] Should the feature geometries that are shown be selectable in grid and map? Default ``true``.
 
Image icon button.
 
api: config[loadMask]
 
If it's true there will be added a button to perform "showAerialPhoto" event, otherwise it will be performed using double click on selected row.
 
api: config[separateSelectionLayer] Should selected features be managed in separate overlay Layer (handy for printing) ?.
 
api: config[showGeometries] ``Boolean`` Should the feature geometries be shown? Default ``true``.
 
api: config[showTopToolbar] Should a top toolbar with feature count, clear button and download combo be shown? Default ``true``.
 
api: config[vectorLayerOptions] Options to be passed on Vector constructors.
 
api: config[zoomLevelPoint] Zoom level when layer is single point feature, default ``10``.
 
api: config[zoomLevelPointSelect] Zoom level for point features when selected, default ``10``.
 
api: config[zoomOnFeatureSelect] Zoom to feature (extent) when selected ?.
 
api: config[zoomOnRowDoubleClick] Zoom to feature (extent) when row is double clicked ?.
 
api: config[zoomToDataExtent] Zoom to layer data extent when loaded ?.
Class Detail
framework.widgets.search.FeatureGridPanel()
Show features both in a grid and on the map and have them selectable.
Field Detail
{Boolean} autoConfig
api: config[autoConfig] Should the store and grid columns autoconfigure from loaded features?.

{Boolean} columnCapitalize
api: config[columnCapitalize] Should the column names be capitalized when autoconfig is true?

{Boolean} downloadable
api: config[downloadable] ``Boolean`` Should the features in the grid be downloadble? Download can be effected in 3 ways: 1. via Grid export (CSV and XLS only) 2. downloading the original feature format (GML2) 3. (GeoServer only) requesting the server for a triggered download (all Geoserver WFS formats),

{Object} exportConfigs
api: config[exportConfigs] The supported configs for formatting and exporting feature data. Actual presented download options are configured with exportFormats.

{[object] String Array} exportFormats
api: config[exportFormats] Array of document formats to be used when exporting the content of a GFI response. This requires the server-side CGI script ``heron.cgi`` to be installed. Exporting results in a download of a document with the contents of the (Grid) Panel. For example when 'XLS' is configured, exporting will result in the Excel (or compatible) program to be started with the GFI data in an Excel worksheet. Option values are 'CSV' and/or 'XLS', default is, ``null``, meaning no export (results in no export menu). The value ['CSV', 'XLS'] configures a menu to choose from a ``.csv`` or ``.xls`` export document format.

{Boolean} featureSelection
api: config[featureSelection] Should the feature geometries that are shown be selectable in grid and map? Default ``true``.

{String} iconButton
Image icon button.

{Boolean} loadMask
api: config[loadMask]

{boolean} openOnButton
If it's true there will be added a button to perform "showAerialPhoto" event, otherwise it will be performed using double click on selected row. Default is true.

{Boolean} separateSelectionLayer
api: config[separateSelectionLayer] Should selected features be managed in separate overlay Layer (handy for printing) ?.

showGeometries
api: config[showGeometries] ``Boolean`` Should the feature geometries be shown? Default ``true``.

{Boolean} showTopToolbar
api: config[showTopToolbar] Should a top toolbar with feature count, clear button and download combo be shown? Default ``true``.

{Object} vectorLayerOptions
api: config[vectorLayerOptions] Options to be passed on Vector constructors.

{Integer} zoomLevelPoint
api: config[zoomLevelPoint] Zoom level when layer is single point feature, default ``10``.

{Integer} zoomLevelPointSelect
api: config[zoomLevelPointSelect] Zoom level for point features when selected, default ``10``.

{Boolean} zoomOnFeatureSelect
api: config[zoomOnFeatureSelect] Zoom to feature (extent) when selected ?.

{Boolean} zoomOnRowDoubleClick
api: config[zoomOnRowDoubleClick] Zoom to feature (extent) when row is double clicked ?.

{Boolean} zoomToDataExtent
api: config[zoomToDataExtent] Zoom to layer data extent when loaded ?.
© 2013 Regione Autonoma della Sardegna