BUG 0000 feature for PMExt main Object named PMExt.createInfoPanel() (tweaks)

- creates a new instance of infoPanel object
- PMExt.createInfoPanel(url, params)

Sample
 var sumaryInfPanel = PMExt.createInfoPanel('../sampleProxy/getSummary', {appUid: '43546...', index:1});
This commit is contained in:
Erik Amaru Ortiz
2011-09-21 10:33:48 -04:00
parent 67f88c0396
commit e2fc4779f8

View File

@@ -88,13 +88,13 @@ PMExtJSCommon = function() {
{
var labelColumnWidth = 170;
var valueColumnWidth = 350;
params = params || {};
if(typeof columnsSize != 'undefined') {
labelColumnWidth = columnsSize[0] || labelColumnWidth;
valueColumnWidth = columnsSize[1] || valueColumnWidth;
}
return new Ext.grid.GridPanel({
store : new Ext.data.GroupingStore({
autoLoad: true,
@@ -129,7 +129,8 @@ PMExtJSCommon = function() {
forceFit:true,
headersDisabled : true,
groupTextTpl: '{group}'
})
}),
loadMask: true
});
}
}