1. #1
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    45
    Answers
    3
    Vote Rating
    3
    charlie17 is on a distinguished road

      0  

    Default Unanswered: Grid enableColumnHide plus locking

    Unanswered: Grid enableColumnHide plus locking


    In my grid panel definition, if I set any column to...

    locked: true
    ...then, within the grid settings, the...

    enableColumnHide: false
    ...has no effect. The selection in the grid column drop-down allowing columns to be shown/hidden appears.

    However if I remove all locking, then enableColumnHide works as expected.

    Is this expected behavior? I need to enable locking but hide that "columns" drop-down option. Any suggestions?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,217
    Answers
    3519
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What Ext JS 4.x.x version are you using? 4.1.2/3 has some fixes to sync features between the two grids when you have a locked column.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    45
    Answers
    3
    Vote Rating
    3
    charlie17 is on a distinguished road

      0  

    Default


    I'm on 4.1.1. Thanks for the tip - I'll wait for the public release of the next version and test it out.

Thread Participants: 1