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

deactivateTab not working?

1 Answer 35 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 31 May 2017, 08:32 PM

Was looking into documentation for deactivating or suppressing tabs and discovered a potential issue with the deactivateTab method:

  • Go to http://docs.telerik.com/kendo-ui/api/javascript/ui/tabstrip#methods-deactivateTab
  • Click "Open in Dojo"
  • Run the sample

Am I missing something?

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 01 Jun 2017, 06:02 AM
Hello Scott,

For a tab to be deactivated it must be active. Here's a dojo example. When Tab 1 is active (selected), clicking on the "deactivate" button calls the deactivateTab method and deactivates the tab.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TabStrip
Asked by
Scott
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or