-
6 Jan 2012 6:55 AM #1
RangeError: Maximum call stack size exceeded when resizing columns
RangeError: Maximum call stack size exceeded when resizing columns
Designer version tested:
- Designer 1.2.2 build 48
- Windows 7 Pro 64 bit
- Ext JS 4.x
- Resize column causes lock and eventually error message
Steps to reproduce the problem:- Create a form panel
- Add toolbar
- Add Grid panel
- Add 20+ columns of mixed variety
- try to resize a few
- Should resize
- Lock & Error message
Columns go off the screen (horizontal scroll bar shows)
-
6 Jan 2012 6:57 AM #2
-
10 Jan 2012 1:52 PM #3
Phil Strong
@philstrong
#SenchaArchitect
Sencha Architect Development Team
-
20 Jan 2012 4:31 AM #4
Memory Leak
Memory Leak
There definitely appears to be a memory leak when resizing although this directly doesn't seem to cause the problem. Your example works fine at my end, this is the code from my test....
Code:Ext.define('MyApp.view.ui.MyForm', { extend: 'Ext.form.Panel', height: 800, width: 1024, bodyPadding: 10, title: 'example', initComponent: function() { var me = this; Ext.applyIf(me, { dockedItems: [ { xtype: 'gridpanel', title: 'My Grid Panel', columnLines: true, dock: 'top', columns: [ { xtype: 'gridcolumn', width: 38, dataIndex: 'string', text: 'Sts' }, { xtype: 'numbercolumn', width: 41, dataIndex: 'number', text: 'Load' }, { xtype: 'gridcolumn', width: 6, text: ' ' }, { xtype: 'gridcolumn', width: 73, text: 'Supplier' }, { xtype: 'numbercolumn', width: 52, text: 'Weight' }, { xtype: 'numbercolumn', width: 61, text: 'Pay Wgt.' }, { xtype: 'numbercolumn', width: 45, text: 'Price' }, { xtype: 'numbercolumn', width: 53, text: 'Vaue' }, { xtype: 'gridcolumn', width: 6, text: ' ' }, { xtype: 'gridcolumn', width: 77, text: 'Customer' }, { xtype: 'numbercolumn', width: 53, text: 'Weight' }, { xtype: 'numbercolumn', width: 58, text: 'PayWgt' }, { xtype: 'numbercolumn', width: 44, text: 'Rate' }, { xtype: 'numbercolumn', width: 39, text: 'Value' }, { xtype: 'gridcolumn', width: 6, text: ' ' }, { xtype: 'gridcolumn', width: 40, text: 'Haulier' }, { xtype: 'numbercolumn', width: 50, text: 'Weight' }, { xtype: 'numbercolumn', width: 50, text: 'Rate' }, { xtype: 'numbercolumn', width: 50, text: 'Value' }, { xtype: 'numbercolumn', width: 70, text: 'Other Cost' } ], viewConfig: { } } ] }); me.callParent(arguments); } });
-
31 Jan 2012 1:26 AM #5
Fixed in v2 beta
Fixed in v2 beta
Problem seems resolved in the v2 beta release.
-
31 Jan 2012 8:16 AM #6
Thanks MGHawksworth.
Aaron Conran
@aconran
Sencha Architect Development Team
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote