1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    10
    Vote Rating
    0
    mumbomedia is on a distinguished road

      0  

    Default Bottom Tab Bar slides away

    Bottom Tab Bar slides away


    Hello.

    I'm trying to make an app in Sencha Architect.
    I have a navigation View (which is my initial view) wich contains a tabpanel.
    The Tabpanel has a Tabbar on bottom which shows three tabs.

    The first Tab shows a list of news, the second shows a list of events. The third one shows just plain text.
    When i click on a news or an event, it calls a function which uses the push() function
    to show the details of that news. It actually gets an Ext.Panel which is on the same level as my initial view.
    It then fills the template and pushes that Ext.Panel into the navigation View.

    Like so:
    this.getMainNav().push({
    xtype: 'detailpanel',
    title: record.data.titel,
    data: record.getData()
    });

    The List slides aside and the details show up. Fine so far.

    But of course the tabPanel gets pushed aside, so that the Tabbar with the tabs disappears, which i don't want.
    How do i keep the Tabbar and the current Tab active when clicking on a list item?
    What kind of structure do i have use? I tried a lot but couldn't get it to work.
    This is driving me insane!!!

    Any ideas?

    My Sencha Architect project is attached. So you should be able to see what i am talking about.
    Attached Files

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,324
    Vote Rating
    201
    ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold

      0  

    Default


    You must archive the project then upload xda fiel instead of xds so we can see what you are talking about.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    10
    Vote Rating
    0
    mumbomedia is on a distinguished road

      0  

    Default


    Yes, of course.
    There it is.

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    10
    Vote Rating
    0
    mumbomedia is on a distinguished road

      0  

    Default


    *bump*

    Anyone?

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    10
    Vote Rating
    0
    mumbomedia is on a distinguished road

      0  

    Default


    *bump*

    Seriously, any help would be appreciated.
    Is that even possible, what i'm trying to do?

Thread Participants: 1