biohazardo
15 Feb 2012, 11:52 PM
There is grid component with docked container.
...
dockedItems: [{ xtype:'container',
html:'truehtml',
id:'summaryBlock',
dock:'bottom',
layout:'fit'
}], ...
In first show of the grid everything is fine. But when I want to see it in second time it throws:
Uncaught TypeError: Cannot read property 'style' of undefined
That error goes to this ExtJS code (Ext-all-debut.js line: 8908)
...setHeight : function(height, animate){ var me = this;
height = me.adjustHeight(height);
if (!animate || !me.anim) {
me.dom.style.height = me.addUnits(height);http://www.sencha.com/forum/chrome-devtools://devtools/Images/errorIcon.pngUncaught TypeError: Cannot read property 'style' of undefined
}
else...
What is it and how to fix?
...
dockedItems: [{ xtype:'container',
html:'truehtml',
id:'summaryBlock',
dock:'bottom',
layout:'fit'
}], ...
In first show of the grid everything is fine. But when I want to see it in second time it throws:
Uncaught TypeError: Cannot read property 'style' of undefined
That error goes to this ExtJS code (Ext-all-debut.js line: 8908)
...setHeight : function(height, animate){ var me = this;
height = me.adjustHeight(height);
if (!animate || !me.anim) {
me.dom.style.height = me.addUnits(height);http://www.sencha.com/forum/chrome-devtools://devtools/Images/errorIcon.pngUncaught TypeError: Cannot read property 'style' of undefined
}
else...
What is it and how to fix?