In standard grid columns we have a renderer property which is used to represent data in appropriate way. Unfortunately this feature is missing in action column but we can add it using the following override for ‘Ext.grid.column.Action’ class.

  1. Create  ‘/overrides/grid/column’ directory if it does not exists.
  2. Put the following code in the ‘/overrides/grid/column/Action.js’ file.
  3. Rebuild. 

Now you can use the getGlyph function as it is done in the following sample.

This override works for Ext JS 6.5.3 – Classic Toolkit.