deactivateTab not working?

2 posts, 0 answers
  1. Scott
    Scott avatar
    3 posts
    Member since:
    May 2014

    Posted 31 May Link to this post

    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?

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1264 posts

    Posted 01 Jun Link to this post

    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.
Back to Top