10 Jan 2012 5:52 AM #1
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!
10 Jan 2012 6:23 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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 Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
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.
10 Jan 2012 6:25 AM #3
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.