1. #1
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default LockingGridPanel - Grid with fixed and scrolling columns

    LockingGridPanel - Grid with fixed and scrolling columns


    Note:
    Starting from Ext 3.1 this extension has become part of the standard Ext examples and this thread will no longer be updated.

    This gridpanel/editorgridpanel descendant allows you to lock columns in your grid, so they will remain fixed when the grid is scrolled.

    Features:
    - Re-adds locking column support from Ext 1.x.
    - Supports locking/unlocking from the column menu.

    The code has undergone serveral changes and is not yet fully tested. Please report any bugs you find in this thread.

    The original Ext 2.x extension can be found here.

    update 6:
    - Initial release for Ext 3.0.
    - Fixed horizontal scroll of unlocked area when clicking on the locked area.
    version 1.7:
    - New version numbering scheme.
    - Fixed forceFit:true (although I don't see why you would want to use it).
    - Fixed stripeRows:true.
    version 1.7.1:
    - Cleaned up display (separator line now full height and fixed 1px offsets).

    Stuff to remember:
    - IE can corrupt the downloaded archive - Use a different browser.
    Attached Images
    Attached Files

  2. #2
    Sencha User
    Join Date
    Dec 2008
    Location
    Mainz
    Posts
    241
    Vote Rating
    1
    crp_spaeth is on a distinguished road

      0  

    Default


    Really nice you made this extension available for 3.0 users!
    Big thanks!

  3. #3
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Kick butt dude!

  4. #4
    Ext JS Premium Member MacJK's Avatar
    Join Date
    Aug 2008
    Location
    Germany, Delingsdorf
    Posts
    20
    Vote Rating
    0
    MacJK is on a distinguished road

      0  

    Thumbs up


    Hello, many thanks!

    Is there any special reason why this is not a standard in Ext JS?

    best regards,
    Jaroslaw Kucharski

  5. #5
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    performance

  6. #6
    Ext User
    Join Date
    Jun 2008
    Posts
    13
    Vote Rating
    0
    bk1 is on a distinguished road

      0  

    Default


    Good to see this back in Ext 3.+, Condor.

    You are terrific! Keep up the wonderful work!

  7. #7
    Ext JS Premium Member Gjslick's Avatar
    Join Date
    Feb 2009
    Location
    NJ, USA
    Posts
    129
    Vote Rating
    6
    Gjslick will become famous soon enough

      0  

    Default


    Condor, this is the best thing since sliced bread.

    Is there a way to get this to work with your GroupHeaderGrid plugin though? The two of them combined is exactly what I need. The first column would be locked and would not have a colspan for its header, but I would need the others to have them. Is this at all possible?

    Greg

  8. #8
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    No, LockedGridPanel and the GroupHeaderGrid plugin currently can't work together.

    I created a LockedGroupHeaderGrid plugin once, but I haven't for the Ext 3.0 release (and, unless someone pays me, I'm not planning on creating one - it's a lot of work).

  9. #9
    Sencha User
    Join Date
    Jan 2009
    Posts
    19
    Vote Rating
    0
    Luckyman is on a distinguished road

      0  

    Default Create grid with forceFit:true leads to cyclic dependency

    Create grid with forceFit:true leads to cyclic dependency


    Create grid with forceFit:true leads to cyclic dependency

    This happens because method updateAllColumnWidths call this.layout method and this.layout method call this.fitColumns which again call updateAllColumnWidth.

  10. #10
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    97
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Posted in the Ext 2.x thread:
    Quote Originally Posted by hhanna View Post
    I noticed the stripeRows property isn't working on the locking grid (even in the example file) for update6.

    I tried using getRowClass to do it but to no avail. Any ideas on how to resolve this?

    BTW: Thanks for the 3.0 version. It is a real life-saver.
    I will look into this (and the fitColumns problem) when I have some time to spare...