Results 1 to 2 of 2

Thread: List Navigation for kitchen sink model App

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Vote Rating

    Default Unanswered: List Navigation for kitchen sink model App

    I have developed an application based on the kitchen sink design.
    In that for a list on itemDisclosure I need to navigate to another js page having a menu.For example if it is a employee list on itemDisclosure I should get a page having menu on salary details,leave details etc.

    employee.List = new Ext.Panel ({
    layout : 'fit',
    items: [{
    title: 'Disclosure',
    layout: ? 'fit' : {
    type: 'vbox',
    align: 'center',
    pack: 'center'
    cls: 'demo-list',
    items: [{
    width: ? undefined : 300,
    height: ? undefined : 500,
    xtype: 'list',
    onItemDisclosure: function(record, btn, index) {


    store: demos.ListStore, //getRange(0, 9),
    itemTpl: '<div class="contact"><strong>{firstName}</strong> {lastName}</div>'

    i have to navigate to the employeeMenu.js

    Can anyone help me out for the same?

    Thanks in advance..

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    You can use a card layout with your list as the first item. On the disclosure icon tap, setActiveItem on the panel with card layout to switch to your desired class.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts