1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    28
    Vote Rating
    1
    sveatlo is on a distinguished road

      0  

    Default Unanswered: menu and switching between views

    Hi,
    I'm trying to create an application. I want to have menu on the left side and by clicking on the items I want to switch between the views. Can you help me please?
    Thanks for reply

  2. #2
    Sencha User Tim Toady's Avatar
    Join Date
    Feb 2010
    Location
    Pennsylvania
    Posts
    580
    Vote Rating
    269
    Answers
    62
    Tim Toady has much to be proud of Tim Toady has much to be proud of Tim Toady has much to be proud of Tim Toady has much to be proud of Tim Toady has much to be proud of Tim Toady has much to be proud of Tim Toady has much to be proud of Tim Toady has much to be proud of

      1  

    Default

    There are a number of ways you can attack it. Your navigation area on the left can be a dataview, tree, grid, or container with styled pushbuttons. Your content area could be a container with a card layout. You would then listen to events in the navigation area, such as itemclick with the tree panel, and get your cardLayout and call setActiveItem on the layout.

    http://docs.sencha.com/ext-js/4-1/#!...container.Card

Thread Participants: 1

Tags for this Thread