hi all..<br><br>following lines contain my code to display the attribute grid of a geometry...<br>how the selected feature&#39;s extend is obtained so that I can  zoom the map up to that extend?<br><br>thanking u<br><br>Febin<br>
===================================================================<br><br>layerFeatureStore = new GeoExt.data.FeatureStore({<br>    fields        : [<br>                {name: &quot;WATER_TYPE&quot;, type: &quot;string&quot;},<br>
                {name: &quot;CNTRY_NAME&quot;, type: &quot;string&quot;},<br>
                {name: &quot;CONTINENT&quot;, type: &quot;string&quot;}<br>              ],<br>    layer        :wfsEditableLayer,<br>    addFeatureFilter: function(feature) {<br>        return feature.state !== OpenLayers.State.DELETE;<br>

            },<br>    autoload:true<br>    });<br>columnModel = new Ext.grid.ColumnModel({<br>        defaults: {<br>                       sortable: true,<br>            editable:true,<br>                },<br>            columns: [<br>

                                  {header: &quot;WATER_TYPE&quot;, dataIndex: &quot;WATER_TYPE&quot;,editor: new Ext.form.TextField()},<br>                                  {header: &quot;CNTRY_NAME&quot;, dataIndex: &quot;CNTRY_NAME&quot;,editor: new Ext.form.TextField()},<br>

                                  {header: &quot;CONTINENT&quot;, dataIndex: &quot;CONTINENT&quot;,editor: new Ext.form.TextField()},<br>                           ]<br>                       });<br>attribGridPanel = new Ext.grid.EditorGridPanel({<br>

    title        : &quot;Feature Table &quot; + layer_name,<br>    region        : &quot;center&quot;,<br>        viewConfig    : {forceFit: true},<br>        store        : layerFeatureStore,<br>    listeners    : {<br>
        afteredit: function(e) {<br>
            var feature = e.record.get(&quot;feature&quot;);<br>            if(feature.state !== OpenLayers.State.INSERT) {<br>                        feature.state = OpenLayers.State.UPDATE;<br>                       }<br>

                   }<br>        },<br>    sm: new GeoExt.grid.FeatureSelectionModel({<br>                selectControl: modifyControl.selectControl,<br>                singleSelect: true,<br>            clicksToEdit:1,<br>

            }),<br>        cm: columnModel<br>           });<br>