Thank you for reporting this bug. We will make it our priority to review this report.
  1. #21
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    madhumita is on a distinguished road

      0  

    Default


    my next page is 'new1.js'

    how can i use setActiveItem(),how can i navigate to next page plz help....with the code

  2. #22
    Sencha User
    Join Date
    Dec 2011
    Location
    Hyderabad, India
    Posts
    117
    Vote Rating
    5
    Answers
    6
    Naga is on a distinguished road

      0  

    Default


    initializeForDrillDown : function() {
    App.views.newPanel = new App.views.Panel(); // your new1.js panel
    App.views.oldPanel.setActiveItem(App.views.newPanel, 'fade');


    },

  3. #23
    Sencha User
    Join Date
    Feb 2012
    Posts
    37
    Vote Rating
    0
    madhumita is on a distinguished road

      0  

    Question


    in my code i did the interaction portion as follow....

    interactions: [
    {
    type: 'itemhighlight',
    gesture: 'tap'
    },
    {
    type: 'ItemInfoWithoutPopup',
    listeners: {
    info: function(interaction, item) {
    var storeItem = item.storeItem;
    console.log(storeItem);
    var storee= storeItem.get('name');
    console.log(storee);
    if (storee='metric one')
    {
    Ext.dispatch({
    controller: 'Enter',
    action: 'initializeForDrillDown',
    form : this
    });
    }

    else{
    alert('hii');
    }
    }

    }
    }],


    and in Enter.js page i did it as follow...

    initializeForDrillDown : function() {
    App.views.viewport.reveal('new1'); // my new page where i want to go on metric one click
    }


    but whenever i click on any slice i am getting a error like....

    TypeError: Result of expression 'a' [undefined] is not an object. in sencha-touch.js:14403


    how can i solve this prblm?

Thread Participants: 1