查找TabStrip索引 [英] Find TabStrip index

查看:35
本文介绍了查找TabStrip索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在KendoUI TabStrip中找到选项卡的索引?我需要找到所选标签的索引(编号),并且我知道select()返回当前标签,但我不知道如何将其转换为编号.

Is it possible to find the index of a tab in a KendoUI TabStrip? I need to find the index (number) of the tab that I select and I know that select() returns me current tab but I don' t know how to convert this to the number.

推荐答案

找到了解决方案:

$("#tabstrip").data("kendoTabStrip").select().index();

这篇关于查找TabStrip索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆