View Full Version : Grid Breaks on Reconfigure Extjs

13 Dec 2013, 4:22 PM
Browser: Chrome (latest non beta)
Javascript: V8


var columns = me.columns;
columns.push(Ext.create('MyApp.base.Column.ApprovalStatus', {
dataIndexName: 'transactionStatus'
text: 'Comments',
renderer: function (value, meta, record) {
return record.commentsStore.getTotalCount();
me.reconfigure(undefined, columns);

After performing the above command, any time you scroll over the headerCt of a grid it produces this error:

Uncaught TypeError: Cannot call method 'isOnLeftEdge' of undefined ext-all-debug.js:107952 (http://localhost:55336/scripts/libraries/ext-

Ext.define.onHeaderCtMouseMoveext-all-debug.js:107952 (http://localhost:55336/scripts/libraries/ext-
(anonymous function)VM3122:6 (http://www.sencha.com/forum/chrome-devtools://devtools/bundled/devtools.html?dockSide=bottom&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1))

headerEl = e.getTarget('.' + me.colHeaderCls, 3, true);

if (headerEl){
overHeader = Ext.getCmp(headerEl.id);

if (overHeader.isOnLeftEdge(e)) {

- Ln: 107952 in ExtJs-Debug-All.js

Best of luck!

Gary Schlosberg
18 Dec 2013, 4:12 PM
Thanks for the report. Can you please post a test case which reproduces the issue?