May 04, 2011, 8:27 PM
Hmm, to get a button there works now.
But how do I place a label?
But how do I place a label?
var prepare = function (grid, toolbar, rowIndex, record) {
if (record.data.BookingState == "Avbokad") {
toolbar.items.itemAt(0).hide();
toolbar.add(new Ext.Label({
text: "test"
}));
toolbar.doLayout();
}
};
Thats not working...