Categories JavaScript Add a button to ExtJS grid Post author By Safa Post date May 11, 2010 var grid = new Ext.grid.GridPanel({ region: 'center', store: store, tbar: toolbar, colModel: new Ext.grid.ColumnModel({ defaults: { width: 120, sortable: true }, columns: [ {id: 'title', header: 'Titel', width: 200, dataIndex: 'title'}, {header: 'path', dataIndex: 'path'}, {header: 'category', dataIndex: 'category'}, // That's the button making line :) {header: 'Download', dataIndex: 'dlink', sortable: false, renderer: function(val){ return '<a href="'+val+'">Download</a>'; } }, ] }), viewConfig: { forceFit: true }, sm: new Ext.grid.RowSelectionModel({singleSelect:true}), iconCls: 'icon-grid' });