Results 1 to 2 of 2

Thread: Collapsible Panel with "tab", instead of header bar?

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Davenport, IA
    Vote Rating

    Default Unanswered: Collapsible Panel with "tab", instead of header bar?

    I was wondering if its possible to have a collapsable panel, that has a tab that you clicked on, to hide and show the panel, as apposed to a header?

    I'm well aware of tab panels, but there a different metaphor than what I'm trying to accomplish.

    I want a tab to be docked to a side of a panel, in which when clicked, another panel would than slide out and partially overlay the current panels content.

    Currently docked components, and "bordered" components using the border layout, will "push over" the existing content.

    So really the 2 questions are,

    How do I use a tab, instead of a header bar for collapsable panels?
    And how do I make a docked floating panel, that is collapsable?

    And if possible keep it Architect friendly.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    You should use buttons instead of

    You can't have a docked floating panel. What you can do is dock a component. When you want to "expand" it, you would hide the docked component and then animate a floating component out.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

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