Results 1 to 3 of 3

Thread: Toggling visibility of GridPanel header at runtime

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    15
    Vote Rating
    0
      0  

    Question 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    Is this for Ext JS 3 or 2?

    Also which header? The one with the title or the column names?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    15
    Vote Rating
    0
      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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •