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

Clear default selected tab using tabstrip

1 Answer 133 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Jesse
Top achievements
Rank 1
Jesse asked on 30 Jul 2014, 07:44 PM
Hello,
I am using the code below to populate the header and footer on a page.

How to clear the first, default selected tab?

Thanks for your time and help.

<div id="example" data-role="view" data-layout="default">
</div>
     <div data-role="layout" data-id="default">
         <header data-role="header">
            <div data-role="navbar" style="background-color:\#1e4e6d;">
                <span data-role="view-title" style="color:\#ffffff;">Header</span>
            </div>
        </header>
        <footer data-role="footer">
            <div id="tabstrip" data-role="tabstrip">
                <a data-icon="e038-e"></a>
                <a data-icon="info"></a>
                <a data-icon="arrow-e"></a>
                <a data-icon="settings"></a>
                <a data-icon="contacts"></a>
            </div>
        </footer>
 
    </div>

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 01 Aug 2014, 07:33 AM
Hi Jesse,


If you would like to deactivate the default tab you could use the deactivateTab method of the TabStrip API, which accepts the DOM element of the tab as a parameter.

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