Results 1 to 5 of 5

Thread: Reconfigure a Grid with Locked columns fails

  1. #1
    Sencha User
    Join Date
    Apr 2007

    Default Reconfigure a Grid with Locked columns fails


    I'm having a grid reconfigured dynamically. The first column has 'locked: true' and the grid has 'lockable: true' set.

    However, during the reconfigure, it fails and gives a
    me.reconfigureLockable is not a function error.

    This error is generated from within the reconfigure method.

    reconfigure: function(store, columns) {
    var me = this, headerCt = me.headerCt;
    if (me.lockable) { me.reconfigureLockable(store, columns); } else {
    When I look for the 'reconfigureLockable', it's there and the scope also seems correct.

    Any suggestions to get this to work will be very helpful.

    Thanks in advance.

  2. #2


    how resolve it?? i met it same problem

  3. #3
    Sencha User
    Join Date
    Apr 2007


    Seems to be resolved with the latest version of ExtJs

  4. #4

    Default Any method ?

    I meet the same problem, the grid column was generated dynamically from server, but I want to set "locked" property to "true" for the first column, it not works.
    I tried set grid's property "lockable: true", "enableLocking":"true", but no use.

    is there any method to solve it? Thanks for your help.

  5. #5

    Default I solved it

    I add the property "enableLocking: true" outside the initComponent function, it works fine! (first time I add it inside initComponent function, it not works.)

    Ext.define('Ext.ux.grid.DynamicGrid2', {     extend: 'Ext.grid.Panel',
         alias: 'widget.dynamicGrid2',
         alternateClassName: 'Ext.grid.DynamicGrid2',
         // URL used for request to the server. Required!
         url: '',
         enableLocking: true, // it's important for locking some columns.
         // lockable: true,
         initComponent: function() {
             var me = this;
          // other codes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts