How to navigate to 3rd page from 2nd page in NavigationPane

I have 3 pages with a BlackBerry 10 project

The first page is a navigation pane that contains a page with a list The second page is Page that contains a list The third page is another Page containing a different list

I want to be able to tap an item within my list on the second page so that it takes me to the third page. How can I do this?

Answers


Attach page in second QML

attachedObjects: [
     ComponentDefinition {
         id: thirdPage
         source: thirdPage.qml
     }
]

And open it

//assuming NavigationPane in first QML has id navigationPane
navigationPane.push(thirdPage.createObject()); //assuming NavigationPane in 

Why will this work? Because second QML still has access to first page, or at least its NavigationPane


Need Your Help

How do I display a DataGridView within a cell of another datagridview in C# forms app?

c# windows winforms datagridview hierarchical-data

How do I display a DataGridView within a cell of another datagridview in C# forms app?