I'm try to render a progress bar in grid (Ext JS), and get this error:
Object function has no method defer
What is this "magical" method? What does it do? And why is it not found? Code:
renderer: function (value, meta, rec, row, col, store){
var id = Ext.id();
(function(){
new Ext.ProgressBar({
renderTo: id,
value: 0.5
});
}).defer(25);
return '<span id="' + id + '"></span>';
}
Ext.defer(function () { ... }, 25);
-- in case anyone spent as long hunting this down as I just did! – Cesaro