Skip to Content
author's profile photo Former Member
Former Member

AppBuilder Navigation to the Next Page ?

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.

jsonOput.png (83.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2014 at 06:49 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 21, 2014 at 10:51 AM

    HI Vamsi ,

    An event must be created and the page navigation logic in js is to be put in place.

    these might help to achieve this.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.