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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -