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

How to set default item on PanelBar with class?

1 Answer 101 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Delvi
Top achievements
Rank 1
Delvi asked on 23 Nov 2011, 07:20 PM
I'm using the PanelTab but expanded by establishing a default item with class "k-state-active" is not working.
Any suggestions?

<ul id="panelbar">
    <li class="k-state-active">
        ACCOUNT
<ul>
<li>Test</li>
</ul>
    </li>
<li> Other Item</li>
</ul>

Script:
$(function(){
 
    $("#panelbar").kendoPanelBar();
})

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 24 Nov 2011, 08:57 AM
Hello Delvi,

I've just tested and it seems to be working. Please note that it only expands the item and doesn't select it. Can you describe what are you trying to achieve?

All the best,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
PanelBar
Asked by
Delvi
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or