JavaScript
Run Code
Open in Fiddle
var grid = new Ext.grid.Panel({ store: new Ext.data.Store({ fields: ['a', 'b'], data: [ [1, 2] ] }), height: 200, width: 300, columns: [{ renderer: function() { return '<div id="foo">div with id</div>' }, locked: true }, { renderer: function() { return 'some data' } }] }); grid.render(Ext.getBody()); Ext.get('foo') grid.view.refresh(); // Hard crash Ext.get('foo')