extjs - Replace this.grid.getColumnModel() function in 4.2 -
i using latest version extjs , want replace this.grid.getcolumnmodel() method used in plugin there achieve
first approach
you can override plugin's getcolumnmodel
method. try this:
ext.override('plugin.namespace', { getcolumnmodel: function(a, b, c) { // override here } });
placement of code crucial, either create overrides file or stick in app.js file.
second approach
the worst, still optional, approach manually modify plugin itself. said, can still it, it's not ideal solution.
Comments
Post a Comment