{
center: {
- autoScroll:true,
+ autoScroll:false,
hideTabs: true
}
}
- this.tab = parentLayout.add(region, new Roo.NestedLayoutPanel(
- this.layout, {title: this.title, background: true, controller : this}));
+ this.tab = parentLayout.add(region,
+ new Roo.NestedLayoutPanel(
+ this.layout, {
+ title: this.title,
+ background: true,
+ controller : this
+ }));
this.tab.on('activate', function() {
_this.delayedCreate();
});
this.panel = this.layout.add('center', new Roo.GridPanel(this.grid , {
fitToframe: true,
- fitContainer: true,
+ fitContainer: true,
+ //background : false,
id: this.id,
title: this.title || "Staff",
controller : this
// id : (this.id + '-name').toLowerCase(),
header : "Name",
dataIndex : 'name',
- sortable : true,
+ sortable : true
// width : 150
}, cfg);
},