I have created a container, now I want to create border for our container.
My container code is below:
MyContainer = Ext.extend(Ext.Container, {
height: 50,
width: 300,
id: 'container1',
initComponent: function() {
MyContainer.superclass.initComponent.call(this);
}
});
Please help me.!
Tarun Kumar
11-May-2016MyContainer = Ext.extend(Ext.Container, {height: 50,
width: 300,
id: 'container1',
border: 1,
style: {
borderColor: 'blue',
borderStyle: 'solid'
},
initComponent: function() {
// do your stuff here
}
});