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

wrapper is not the most outer jQuery element

3 Answers 65 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Seyfor
Top achievements
Rank 1
Seyfor asked on 28 Jun 2016, 01:16 PM

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?

3 Answers, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 30 Jun 2016, 07:16 AM
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.
 
0
Seyfor
Top achievements
Rank 1
answered on 30 Jun 2016, 08:50 AM

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

0
Accepted
Magdalena
Telerik team
answered on 01 Jul 2016, 05:10 AM
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.
 
Tags
TabStrip
Asked by
Seyfor
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Seyfor
Top achievements
Rank 1
Share this question
or