You found a bug! We've classified it as EXTJS-9910 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    102
    Vote Rating
    6
    campersau1 is on a distinguished road

      0  

    Default 4.2.0.663 Locked TreePanel: wrong colIndex in column renderer

    4.2.0.663 Locked TreePanel: wrong colIndex in column renderer


    If columns in an Ext.tree.Panel are locked the colIndexs for the next columns renderer function are resetted.

    Test Case:
    http://jsfiddle.net/P4c6b/4/

    If I comment out
    Code:
    locked: true
    it works fine.


    My current workaround:
    Code:
    function renderer(value, meta, record, rowIndex, colIndex, store, view) {
        if (view.xtype == "gridview") colIndex += numberOfLockedColumns;
        
        return colIndex;
    }

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,062
    Vote Rating
    215
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread