Specify custom type settings for your tools:
 Ext.create('Ext.grid.Panel', { ... tools: [ { type: 'enable-grouping', handler: function() { ... } }, { type: 'disable-grouping', handler: function() { ... } } ] }); 
Then define the following classes in the stylesheet to create new tools:
 .x-tool-enable-grouping { background-image: url('path/to/tool/image/enable-grouping.png'); } .x-tool-disable-grouping { background-image: url('path/to/tool/image/disable-grouping.png'); } 
Tool image size should be 15 x 15 px