rendered paste body var grid = new Ext.grid.EditorGridPanel({ store: store, cm: cm, renderTo: 'editor-grid', width:750, height:600, selModel: new Ext.grid.RowSelectionModel({singleSelect:false}), autoExpandColumn:'name', title:'Edit Alias', frame:true, clicksToEdit:2, tbar: [ { text: 'Add Alias', tooltip: 'Click to add a new Alias', handler: function() { var p = new Alias({ name: '', alias1: '', alias2: '', alias3: '', alias4: '' }); grid.stopEditing(); store.insert(0, p); grid.startEditing(0, 0); } }, { text: 'Delete Selected', tooltip: 'Click to Delete selected row(s)', handler: function() {} }, { text: 'Refresh', tooltip: 'Click to Refresh the table', handler: function() {} }] });