Tabstring select method not working. 2021R3SP1 1109

0 Answers 361 Views
TabStrip
Vincent
Top achievements
Rank 1
Iron
Vincent asked on 27 Nov 2021, 03:38 AM

the follow code not working...

 

var tabStrip = $("#TsMain").kendoTabStrip().data("kendoTabStrip");
tabStrip.select(1);

 

var tabStrip = $("#"+controlName).kendoTabStrip().data("kendoTabStrip");
var selectId = tabStrip.select()[0].id;

 

 

Martin
Telerik team
commented on 01 Dec 2021, 02:27 PM

Could you please modify this dojo example so that I can observe the issue you are experiencing? It appears to be working as expected.
Sven
Top achievements
Rank 1
Iron
Iron
Iron
commented on 14 Apr 2022, 02:34 PM

Hm .. doesnt work .. in dojo either 

the console content never changes - always displays "loaded" .. And the button press doesnt do anything either
if at all select(1) brings up the tab 1 if the index starts with 0 - else even that fails 

 

Martin
Telerik team
commented on 19 Apr 2022, 09:56 AM

In the provided code snippet, there is no click handler attached to the button, that is why it does nothing. And the content in the console never changes because the select method and the following console.log are executed only once, right after the initialization of the widget. If you wish to perform some code every time a tab is selected, please use the select event.

No answers yet. Maybe you can help?

Tags
TabStrip
Asked by
Vincent
Top achievements
Rank 1
Iron
Share this question
or