A mediator for selecting feature on grid row selection and vice-vera.
var mediator = new mapfish.widgets.data.GridRowFeatureMediator({
grid: grid,
selectControl: selectFeatureControl
});| mapfish. | A mediator for selecting feature on grid row selection and vice-vera. |
| Constructor | |
| mapfish. | Create an instance of mapfish.widgets.data.GridRowFeatureMediator. |
| Properties | |
| autoActivate | {Boolean} The instance is activated at creation time, defaults to true. |
| selectControl | {OpenLayers.Control.SelectFeature} The select feature control. |
| grid | {Ext.grid.GridPanel} The grid panel. |
| Functions | |
| activate | Activate the mediator. |
| deactivate | Deactivate the mediator. |
{OpenLayers.Control.SelectFeature} The select feature control.
Activate the mediator.
activate: function()
Deactivate the mediator.
deactivate: function()