PDA

View Full Version : [FIXED] Repost: Locking grid not respecting certain cfg's



mankz
7 Apr 2014, 10:36 PM
This ticket is getting old. Very easy to fix.
----------------------------

These properties always override whatever you try to configure yourself.


bothCfgCopy: [
'invalidateScrollerOnRefresh',
'hideHeaders',
'enableColumnHide',
'enableColumnMove',
'enableColumnResize',
'sortableColumns',
'columnLines',
'rowLines'
],




I should be able to do:



new GridPanel({

normalGridConfig : { enableColumnMove : false }



These lines should respect what's already present in the normalGrid config object.

Ext.copyTo(normalGrid, me, me.bothCfgCopy, true);
Ext.copyTo(lockedGrid, me, me.bothCfgCopy, true);
Ext.copyTo(normalGrid, me, me.normalCfgCopy, true);
Ext.copyTo(lockedGrid, me, me.lockedCfgCopy, true);

mitchellsimoens
8 Apr 2014, 5:40 AM
Thanks for the report! I have opened a bug in our bug tracker.