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

On div show hide add tab scroll arrow

1 Answer 164 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Rohan
Top achievements
Rank 1
Veteran
Rohan asked on 11 Sep 2020, 01:09 PM

I have left menu is hidden or same case is visible so when i click show button then the tab width is change from 100% to 70% so in this case the tab get added scroll and arrow so how to do that

Demo:

https://dojo.telerik.com/@vishal14/UcaPEYoh

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 15 Sep 2020, 10:52 AM

Hello Rohan,

Call the TabStrip's resize method after changing the width of its container (#example):

$("#tabstrip").data("kendoTabStrip").resize();

Modified example: https://dojo.telerik.com/IweYigeH

Regards,
Ivan Danchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TabStrip
Asked by
Rohan
Top achievements
Rank 1
Veteran
Answers by
Ivan Danchev
Telerik team
Share this question
or