查找 TabStrip 索引 [英] Find TabStrip index

查看:13
本文介绍了查找 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天全站免登陆