Tabstrip content height after select

2 posts, 0 answers
  1. axel
    axel avatar
    54 posts
    Member since:
    Jan 2010

    Posted 01 Apr Link to this post

    hello,

    selecting a tab programmatically, changes the height of the previous content.

    1 run http://dojo.telerik.com/UYiJU

    2 click "select moscow" button

    3 select  "paris" tab

     

    Kind regards

    axel

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1270 posts

    Posted 03 Apr Link to this post

    Hello Axel,

    You need to get a proper reference to the TabStrip prior to calling its select method. So instead of re-initializing the widget:
    var tabStrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
    you can get a reference like that:
    var tabStrip = $("#tabstrip").data("kendoTabStrip");

    Your dojo example with this change added.

    Regards,
    Ivan Danchev
    Telerik by Progress
    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