<div>Hi all,</div><div> </div><div>I want to use gxp.plugins.featuregrid<br><br>In geoexplorer.js, it is written under,<br><br>GeoExplorer.Composer = Ext.extend(GeoExplorer,....<br><br>constructor: function(config) {<br> { ptype: "gxp_featuregrid",<br>
actionTarget: [ "tree.tbar", "layertree.contextMenu" ]<br> }<br> }<br>}<br><br>when the right click on selected layer in tree, i want to show attribute table in that popup window or you can say the bind the featuregrid in that popup window.<br>
<br>in gxp.js,<br><br>gxp.plugins.FeatureGrid=Ext.extend(gxp.plugins.Tool,{<br>ptype:"gxp_featuregrid",menuText:"Attributes",toolTip:"Table Properties",constructor:function(config){<br> gxp.plugins.FeatureGrid.superclass.constructor.apply(this,arguments);<br>
if(!this.outputConfig){<br> this.outputConfig={ <br>                 width:500,height:500<br><br> }<br> }<br><br> },<br>addActions:function(){<br><strong><font color="#ff0000">pl/ fill up the code<br>
</font></strong>return<br>},<br>addOutput: function(config) {<br><strong><font color="#ff6666">pl. fill up the code<br></font></strong> }<br>Ext.preg(gxp.plugins.FeatureGrid.prototype.ptype,gxp.plugins.FeatureGrid);<br><br>
pl. help me/ shared the code if anyone was done this functionality<br><br>Thanks</div>