Recently, because in the call of the same file Threshold_line.js, always in the right-click menu when you can come out, but in the toolbar when the tune will not come out, always in the threshold_line.js new Ext.grid.ColumnModel This quote undefined is not a function error, I can not think of its solution ah, not all is a JS file, how to get here on the wrong, ext version is the same Ah, Originally toolbar and right-click menu is not the same file, toolbar just introduced ext most basic 3 files, but my columnmodel has checkcolumn, so ext3.3 do not support, need to import some of the UX files, such as
<link rel= "stylesheet" type= "Text/css" href= ". /.. /.. /ext/examples/ux/css/ux-all.css "/>
<script type= "Text/javascript" src= ". /.. /.. /js/ux/ux.js "></script>
<script type= "Text/javascript" src= ". /.. /.. /js/ux/checkcolumn.js "></script>
<script type= "Text/javascript" src= ". /.. /.. /ext/examples/ux/ux-all.js "></script>
That's all you can do.
The error is in the new Ext.grid.ColumnModel line, but it may be a big box of mistakes, not necessarily the wrong line.
Some problems with ExtJS 3.3