Konrad Mariusz Kur
Konrad Mariusz Kur

Reputation: 101

ExtJS Ext.container.Container

I want add header ( with title ) to my class which extended by Ext.container.Container

Ext.define('MYPROJECRT.core.abstract.AbstractContainer', {
extend: 'Ext.container.Container',
bodyPadding: 10,
padding: 10,
border: true,
margin: '0 0 0 5',
style: {
    borderColor: '#99BCE8',
    borderStyle: 'solid'
},

initComponent: function() {
  this.callParent(arguments);
}

});

Upvotes: 1

Views: 158

Answers (1)

dbrin
dbrin

Reputation: 15673

Container does not have a header. Use Panel component instead.

Upvotes: 2

Related Questions