Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Apr 2007
    Posts
    37
    Answers
    1
    Vote Rating
    3
    abhijit is on a distinguished road

      0  

    Default Unanswered: Reconfigure a Grid with Locked columns fails

    Unanswered: Reconfigure a Grid with Locked columns fails


    Hi,

    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.

    Code:
    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
    Sencha User
    Join Date
    Jun 2010
    Posts
    31
    Vote Rating
    0
    nailuo is on a distinguished road

      0  

    Default


    how resolve it?? i met it same problem

  3. #3
    Sencha User
    Join Date
    Apr 2007
    Posts
    37
    Answers
    1
    Vote Rating
    3
    abhijit is on a distinguished road

      0  

    Default


    Seems to be resolved with the latest version of ExtJs

  4. #4
    Sencha User
    Join Date
    Sep 2010
    Posts
    4
    Vote Rating
    0
    to_utopia is on a distinguished road

      0  

    Default Any method ?

    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
    Sencha User
    Join Date
    Sep 2010
    Posts
    4
    Vote Rating
    0
    to_utopia is on a distinguished road

      0  

    Default I solved it

    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.)

    Code:
    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.
    
    
    dynamic-grid-locked.png

Thread Participants: 2