ResultExtGrid.js | |
Constants | |
i18n_default_panel_html | {String} Html contain of the default panel |
i18n_default_panel_title | {String} Title of the default panel |
i18n_no_result_panel_html | {String} Html contain of the no result panel |
i18n_no_result_panel_title | {String} Title of the no result panel |
i18n_query_result | {String} ?? |
i18n_message_select_row | {String} Alert message to select row in grid |
i18n_message_select_row | {String} Alert message to select row in grid |
i18n_window_title | {String} Title for window when inwindow is true |
Properties | |
APIProperty: drawMode | {string} |
panel | {Ext.TabPanel} The panel that contains the GridPanel created for each query result type |
oldWindow | {Ext.Window} When in inWindow:true mode, the window that opens is not destroyed on closing. |
defaultPanel | {Object} The object used to create the panel displayed by default in this.panel. |
defaultPanel | {Object} The object used to create the panel displayed when the retuned query had no results to display. |
htmlInfoFormatRequests | {Array} An array of request urls that containt ‘info_format’ equal to ‘text/html’. |
Functions | |
OpenLayers. | Create a new ResultExtGrid renderer |
resetPanel | Called by the query as soon as the user clicks the map. |
showResult | Called by the query as soon as all responses were parses to features. |
showPanel | Called by this.showResult when the panel received all its new results or when an error occurs, like “there’s no result to display”. |
getResource | Returns the resource object of this widget having a given name. |
showResult: function( features, htmlResults )
Called by the query as soon as all responses were parses to features. First clean this.panel to reset the default values, then prepare the data to be displayed in Ext.GridPanels, one per server-side layer.
features | {Array of <OpenLayers.Feature.Vector>} |
htmlResults | {Array of <Object>} Objects returned by queries using ‘info_format’ equal to ‘text/html’. |
Called by the query as soon as the user clicks the map.
resetPanel: function( options )
Called by the query as soon as all responses were parses to features.
showResult: function( features, htmlResults )
Called by this.showResult when the panel received all its new results or when an error occurs, like “there’s no result to display”.
showPanel: function()
Returns the resource object of this widget having a given name.
getResource: function( resourceName )