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:
@@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user