Results 1 to 2 of 2

Thread: menu and switching between views

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    28
    Vote Rating
    1
      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
    603
    Answers
    67
    Vote Rating
    284
      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

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
  •