This is a migrated thread and some comments may be shown as answers.

Programmatic navigation in a mobile splitview

1 Answer 242 Views
SplitView
This is a migrated thread and some comments may be shown as answers.
Jack
Top achievements
Rank 2
Iron
Jack asked on 22 Aug 2012, 02:11 PM
Suppose an application based on a Kendo UI Mobile SplitView has a "side pane" with "side view 1" and "side view 2".
The "side layout" defines two buttons "layout 1" and "layout 2".
This application also has a "main pane" with "main view 1" and "main view 2".
Clicking "layout 1" should display "side view 1" in the side pane and "main view 1" in the "main pane", where as
Clicking "layout 2" should display "side view 2" in the side pane and "main view 2" in the "main pane" 

As per the documentation, it is possible to configure a button as follows:
<a id="layout1" data-role="button" href="#side-view1">
but this only triggers the navigation in the side pane.

It is also possible to configure a button as follows:
<a id="layout1" data-role="button" href="#main-view1" data-target="main-pane">
but this only triggers the navigation in the main pane.

How to programmatically trigger the navigation in both panes?

1 Answer, 1 is accepted

Sort by
0
Jack
Top achievements
Rank 2
Iron
answered on 25 Aug 2012, 06:57 PM
Tags
SplitView
Asked by
Jack
Top achievements
Rank 2
Iron
Answers by
Jack
Top achievements
Rank 2
Iron
Share this question
or