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

Inconsistent tab wrapping

1 Answer 250 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 21 Mar 2019, 09:01 PM

Despite setting the tab strip to wrap, I'm seeing some inconsistency. 

var tabStrip = $("#TabStripPatientDetails").kendoTabStrip().data('kendoTabStrip');
tabStrip.scrollable = false;

Specifically, hitting refresh seems to switch the tabstrip to scroll.  Is there another setting I need to tweak?

 

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 22 Mar 2019, 03:46 PM
Hello,

The best that can be done is to destroy the old instance and create a new one with the new settings, and to make sure that the class that provides the one-line tab list is removed when necessary, something like this: https://dojo.telerik.com/@bratanov/UWAnOSIp/5.

The classes and the objects needed for scrolling are created only once, during initial rendering and this is why they cannot be changed dynamically at this point.

I have added an enhancement request for implementing such functionality on your behalf, and you can track its status by clicking the Follow button: https://feedback.telerik.com/kendo-jquery-ui/1401801-allow-changing-scrollable-dynamically.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TabStrip
Asked by
Dev
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or