1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    13
    Vote Rating
    0
    Windwalker is on a distinguished road

      0  

    Question Toggling visibility of GridPanel header at runtime

    Toggling visibility of GridPanel header at runtime


    I have also posted this question in Ext2 forum. I am in urgent need of some help, please excuse my crossposting . Thanks!

    I have a GridPanel which should load a maximum number of resources. If there are more resources available, than I want to show, I want to enable the panel's header/title to show some texte like "more items available - display cut off".

    My problem is: I can set the header to be hidden oder shown in the config options, but how can I change the visibility at runtime, specificially just when the grid's store has loaded a new set of record, depending on whether the number of records loaded exceeds a certain maximum or not?

    Thanks for your help!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,668
    Vote Rating
    746
    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


    Is this for Ext JS 3 or 2?

    Also which header? The one with the title or the column names?
    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 User
    Join Date
    Dec 2011
    Posts
    13
    Vote Rating
    0
    Windwalker is on a distinguished road

      0  

    Default


    Thanks for your reply.
    To be exactly, for Ext JS 2.
    I thought 2 and 3 are pretty similar in syntax, so I also posted this in Ext 3, hoping for more reading people.

    I mean the header with the title.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar