wrapper is not the most outer jQuery element

4 posts, 1 answers
  1. Matjaž
    Matjaž avatar
    81 posts
    Member since:
    Jul 2015

    Posted 28 Jun Link to this post

    I though that in all kendo widgets, wrapper property is the outer element for widget. But in TabStrip case this is not true, because wrapper and element point to same jQuery element (when created from div, not ul).

    Why?
    Is there any other widget, which wrapper property do not point to top(the most outer) jQuery element?

  2. Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 30 Jun Link to this post

    Hi Matjaž,

    We are not sure that we have understood you in the right way, but as you mentioned, the wrapper property returns the most top element of the widget. If you create a kendo TreeView from a div, the most top wrapper of the widget is the same div. We would like to refer you to this Dojo example for your reference.

    Regards,
    Magdalena
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Matjaž
    Matjaž avatar
    81 posts
    Member since:
    Jul 2015

    Posted 30 Jun Link to this post

    Hi,

    <div class="k-tabstrip-wrapper">
        <div id="tabstrip" data-role="tabstrip" tabindex="0" class="k-widget k-header k-tabstrip k-floatwrap k-tabstrip-top" role="tablist">
            <ul class="k-tabstrip-items k-reset">
                <li class="k-state-active k-item k-tab-on-top k-state-default k-first k-last" role="tab" aria-selected="true" aria-controls="tabstrip-1">
                    <span class="k-loading k-complete"></span>
                    <span class="k-link">
                        Paris
                    </span>
                </li>
            </ul>
            <div class="k-content k-state-active" id="tabstrip-1" role="tabpanel" aria-expanded="true" style="display: block;">
                <span class="rainy"> </span>
                <div class="weather">
                    <h2>
                        17
                        <span>ºC</span>
                    </h2>
                    <p>Rainy weather in Paris.</p>
                </div>
            </div>
        </div>
    </div>

    wrapper points to 'id="tabstrip"' but it should to 'class="k-tabstrip-wrapper"'.

    http://dojo.telerik.com/ugAMO

  5. Answer
    Magdalena
    Admin
    Magdalena avatar
    421 posts

    Posted 01 Jul Link to this post

    Hi Matjaž,

    We apologize for the misunderstanding. We have logged this issue for fixing and have update your Telerik points because of reporting this bug.

    Regards,
    Magdalena
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready