cancel
Showing results for 
Search instead for 
Did you mean: 

AppBuilder Navigation to the Next Page ?

Former Member
0 Kudos

HI Experts,

I followed this tutorial and Build the Demo App like

If i Clicked on the Particular Cell in the page it should display the complete details of the particular cell in the next page.

The Problem i'm facing is, i'm unable to navigate to the next page and i don't know how to navigate it to the next page,

Please help me out of this along with the code(if required).

Warm Regards,

Vamsi K.

View Entire Topic
Former Member
0 Kudos

Hi Viru,

Finally Resolved This Issue,

Here Is the Code :

backButtonTap: function(evt) {
try
{var s1 = this.byId("SuperList1");

        var page = sap.ui.getCore().byId("appView").byId("homePageView").byId("homePage");

        s1.drillBack();

        if (s1.getCurrentLevel()===0){

            page.setTitle("Northwind Sample");

           page.setShowNavButton(false);

        }

        else {

            appView.setShowNavButton(true);

        }

}catch(e)
{
alert(e);
}
},

myRowFocusChanged: function(evt) {
try{
var s1 = this.byId("SuperList1");

        var page = sap.ui.getCore().byId("appView").byId("homePageView").byId("homePage");

        // alert('test1');

        var data = s1.getRow(evt.mParameters.row);

        // alert('test2');

     var title = data[4]+ ' ' +data[2]+ ' ' +data[1];

        // alert('test3');

        s1.drillDown(evt.mParameters.row);

        if (s1.getCurrentLevel()>0){

         // alert('test4' + title);

            page.setTitle(title);

              // alert('test5');

            page.setShowNavButton(true);

        }

}catch(e){
alert(e);
}
}

Thanks for the Support.

Regards,

Vamsi K.