View Full Version : actioncolumn value problem

1 Apr 2013, 7:26 AM
I want actioncolumn have value from json not image. More general I want clickable cells on my grid panel. For action column I can not achieve to put datas instead an image, moreover when I do not put image or icon, it does not work. How will I solve this problem?

Problem Solved:

Column should be like that

xtype: 'numbercolumn',
width : '10%',
dataIndex: 'assignedReviewers',
listeners: {
dblclick: {
//element: 'body', //bind to the underlying body property on the panel
fn: function(grid,dummy,colIndex,rowIndex) {


1 Apr 2013, 9:26 AM
You need to use cellclick (http://docs.sencha.com/ext-js/4-2/#!/api/Ext.panel.Table-event-cellclick) (http://docs.sencha.com/ext-js/4-2/#!/api/Ext.grid.Panel-event-cellclick)or celldblclick (http://docs.sencha.com/ext-js/4-2/#!/api/Ext.panel.Table-event-celldblclick) (http://docs.sencha.com/ext-js/4-2/#!/api/Ext.grid.Panel-event-celldblclick)as your listener to hook up cell events.