It works fine, where as I am using this functionality in multiple pages and each page contains the below code fragment.


Ext.grid.ColumnModel.override({
getSortIndex : function(col) {...