1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    14
    Vote Rating
    0
    kuzynpiy is on a distinguished road

      0  

    Default empty content of region when closing and then showing

    empty content of region when closing and then showing


    Hello,
    Why when I click the ‘X’ (close) button on the titlebar (and the titlebar is closed), and the execute:
    Code:
    layout.getRegion('west').show();
    the content of the region is empty ?

    Peter

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    When you hit the X, you are closing (removing) that panel from the region. So when the region is shown again, it is gone.

    It may be possible to just hide the region when the X is clicked, but the default behavior removes it. I will look at making it a config option.

Similar Threads

  1. IE7 refreshes after closing a tabbed content panel
    By mdocter in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 9 Mar 2007, 3:29 PM
  2. Showing a warning text when the grid is empty
    By BernardChhun in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 16 Feb 2007, 10:56 AM
  3. Different Titles for Region and Content Panels
    By manugoel2003 in forum Ext 1.x: Help & Discussion
    Replies: 9
    Last Post: 7 Jan 2007, 9:08 PM
  4. Empty "north" region. But I still want the bar the
    By Animal in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 14 Nov 2006, 4:46 AM

Thread Participants: 1