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

Programatically hide/showing tabs

1 Answer 564 Views
TabStrip (Mobile)
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 17 Oct 2014, 06:01 PM
Hi,

is it possible to programatically hide/show tabs in a Mobile TabStrip?  For example, my header contains a TabStrip that has 10 tabsp, but  based on a condition, I may only want 5 of those tabs visible.  Also, depending on the condition, those 5 tabs may be any combination of the 10.

Thanks,
Kevin

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 21 Oct 2014, 03:05 PM
Hi Kevin,

The mobile TabStrip API does not have a method for removing Tabs dynamically. You can do this with CSS after the widget has been initialized. Please see this example that I created for you:

http://dojo.telerik.com/IHaSE

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TabStrip (Mobile)
Asked by
Kevin
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or