3 Nov 2010 2:58 AM #1
BorderLayout - Setting header when collapsed does not change header text
The setting of the header of a border layout region i.e. south.setHeading("header text") does not work if the region is collapsed.
The header is correctly displayed when it is later expanded.
It would be good if you would fix this as I don't want to have to expand the region just to sets it's header correctly
3 Nov 2010 3:02 AM #2
There is no workaround for this. You need to do something like this:
south.setHeading("header text") south.<CollapsePanel>getData("collapse").el().selectNode(".x-panel-header-text").update(south.getHeading());
By emredagli in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 14 Jun 2010, 4:33 AM
By randomuser01 in forum Ext 2.x: Help & DiscussionReplies: 8Last Post: 8 Oct 2008, 7:06 AM
By mkh100 in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 9 Apr 2008, 2:15 PM
By jeffwood in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 1 Nov 2006, 9:57 PM