[CLOSED] GridPanel as Tab in TabPanel - can it be closable?

  1. #1

    [CLOSED] GridPanel as Tab in TabPanel - can it be closable?

    Hi


    First post so hi all :)


    I have a question regarding https://examples1.ext.net/#/TabPanel/Basic/Grid_As_Tab/ can it be cloasable as regular tab?
    And second question - Is it possible to add GridPanel as a Tab trough code behind, not trough listeners handler ?


    thx in advance for help


    rgds
    roszman
  2. #2

    RE: [CLOSED] GridPanel as Tab in TabPanel - can it be closable?

    Hi roszman,

    Welcome!


    I think the title of that sample is a little misleading. In the v1.0 examples explorer, the sample has been renamed "Move Component to TabPanel", https://examples1.ext.net/#/TabPanel/Basic/Grid_As_Tab/


    The sample demonstrates how you could configure a Component outside of a parent Container and using JavaScript, then add that Component to the parent Container.


    Yes, a GridPanel can be (and should be) configured directly inside the TabPanel.


    Example (v0.8.x)


    TabPanel > Tabs > Tab > FitLayout > GridPanel

    In v1.0, the TabPanel has changed a bit and now any Panel type Component (Panel, GridPanel, TreePanel, MenuPanel, etc) can be added directly to the <Items> Collection of an <ext:TabPanel> without having to create a <ext:Tab>. The <ext:Tab> has been removed from the project.


    Example (v1.0)


    TabPanel > Items > GridPanel

    Hope this helps.


    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] GridPanel as Tab in TabPanel - can it be closable?

    Thx for help and for nice welcome ;)

Similar Threads

  1. [CLOSED] Closable Autohide Notification
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 22, 2011, 11:25 AM
  2. [CLOSED] Closable TabPanel are unable to show once closed.
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Apr 14, 2011, 7:55 PM
  3. [CLOSED] Portlet closable and closeaction property obsolete?
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 01, 2010, 4:27 PM
  4. Replies: 2
    Last Post: Feb 03, 2009, 5:56 PM
  5. [CLOSED] TabPanel and Closable
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 07, 2008, 5:11 PM

Posting Permissions