Completed
Last Updated: 20 Nov 2014 19:14 by ADMIN
Bart
Created on: 19 Jun 2013 10:34
Category: Kendo UI for jQuery
Type: Feature Request
4
TabStrip: switchTo() should accept index
With TabStrip, it's only possible to programmatically switch to URLs instead of indexes of the tabs.

In some cases you may not have an URL, but a click handler, and therefore it is impossible to switch to the tab it represents.

http://docs.kendoui.com/api/mobile/tabstrip#methods-switchTo
3 comments
ADMIN
Telerik Admin
Posted on: 18 Jul 2014 10:28
You can pass the href value to the switchTo method programmatically, as shown in the help article. Passing tab index is not supported.
Bart
Posted on: 18 Jul 2014 02:58
Since the href value is not set, this would not work as a solution.

Should I draw the conclusion that it will not be possible with TabStrip to have programmatic handlers for the tab buttons, but only declarative URL routes instead?

In our app, the specific tab does not navigate to another view, but has an effect on the active view.
ADMIN
Telerik Admin
Posted on: 17 Jul 2014 15:12
You can pass the href value of the tab to the switchTo method, as depicted in the referenced help article. Hope this is applicable solution.