Here is an example from my project.
Using the getClass property of the actioncolumn element to do this. To hide it, return the class name "x-hide-display".
xtype: 'actioncolumn', items: [ { getClass: function(v, metadata, r, rowIndex, colIndex, store) { // hide this action if row data flag indicates it is not deletable if(r.data.deletable == false) { return "x-hide-display"; } }, handler: function(view, rowIndex, colIndex, item, e, record, row) { //do something }, icon: 'icons/delete.png' } ] ]
source share