PDA

View Full Version : bbar css



koringa
19 Aug 2009, 4:27 AM
Hi, I would like to know how to put a background color to bbar. Below the code of my Ext.Panel for analysis. Try cls not successful. If I insert the cls bbar, it only changes the color of the button and not the status bar where the button is.


Thanks

Thanks



var membrosPanel = new Ext.Panel({
width : 400,
height : 300,
layout : 'border',
renderTo : 'membros',
items : [
membrosGrid
],
bbar : [
'->',
{
text : 'Voltar configuração original',
handler : function() {
if(confirm('Deseja realmente voltar a configuração inicial ?')) {
if(membrosDataOriginal != null) {
membrosGridStore.loadData(membrosDataOriginal);
}
if(elegiveisDataOriginal != null) {
elegiveisGridStore.loadData(elegiveisDataOriginal);
}
}
}
}
]
});
Thanks