[Users] FeatureAttributes table bind into new popup window

prakshep jani prakshepbjani at gmail.com
Mon Oct 17 09:52:41 CEST 2011


Hi all,

I want to use gxp.plugins.featuregrid

In geoexplorer.js, it is written under,

GeoExplorer.Composer = Ext.extend(GeoExplorer,....

constructor: function(config) {
{ ptype: "gxp_featuregrid",
actionTarget: [ "tree.tbar", "layertree.contextMenu" ]
}
}
}

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.

in gxp.js,

gxp.plugins.FeatureGrid=Ext.extend(gxp.plugins.Tool,{
ptype:"gxp_featuregrid",menuText:"Attributes",toolTip:"Table
Properties",constructor:function(config){
gxp.plugins.FeatureGrid.superclass.constructor.apply(this,arguments);
if(!this.outputConfig){
this.outputConfig={
width:500,height:500

}
}

},
addActions:function(){
*pl/ fill up the code
*return
},
addOutput: function(config) {
*pl. fill up the code
* }
Ext.preg(gxp.plugins.FeatureGrid.prototype.ptype,gxp.plugins.FeatureGrid);

pl. help me/ shared the code if anyone was done this functionality

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20111017/e08ae3b2/attachment.htm 


More information about the Users mailing list