Results 1 to 3 of 3

Thread: How to hide and show a form.panel

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    14
    Vote Rating
    0
      0  

    Default Unanswered: How to hide and show a form.panel

    Can anyone help me to hide a form.panel and show the same form.panel on some event fired.

    I have one form.panel "NotificationTreePanel", in this panel i have crated another form.panel using the xtype : form, i want to hide this form.panel initially and want to show this form.panel on some event fire.


    please help me in this..

  2. #2
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    St Louis,MO
    Posts
    267
    Answers
    20
    Vote Rating
    18
      0  

    Default

    initial config:
    hidden: true

    on event:
    panel.show ();

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    172
    Answers
    7
    Vote Rating
    -10
      0  

    Default

    You initially hide a component in its config with:

    hidden: true

    And later you can show it either with myComponent.setVisible() or perhaps using myComponent.show(), and the other poster illustrated.

Posting Permissions

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