Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Davenport, IA
    Posts
    30
    Answers
    2
    Vote Rating
    6
      0  

    Default 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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Answers
    3976
    Vote Rating
    1381
      0  

    Default

    You should use buttons instead of Ext.tab.Tab.

    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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

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
  •