Im trying to create a mixing for Ext.grid.Panel
components. This is how I have attempted to do it:
Ext.define('myMixin', {
myFunc:function(){
console.log('completed!');
}
});
Ext.grid.Panel.mixin('newmixin','myMixin');
The result of this is a mixin has been added to grid components, but the value is undefined
. Hopefully I have missed something simple, but some help would be much appreciated.