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

Panel bar in your demos - how to?

1 Answer 88 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Zdeněk
Top achievements
Rank 1
Zdeněk asked on 15 Feb 2012, 06:55 PM
I like behavior of Panel Bar in your demos (http://demos.kendoui.com/web/overview/index.html). Injecting content, persisting selected panelbar item etc. Is there source code? In Kendo download pack is this part of demo simplified.

Thank you.

Zdenek

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 16 Feb 2012, 09:58 AM
Hello Zdenek,

No, the demo navigation is not part of the distributed simplified demos. You can check the demos javascript code here - it is not minified. Additionally the PanelBar is initialized with a JSON object like this one:
{
    "chart": [
        {
            "text": "Overview",
            "spriteCssClass": "overviewIcon",
            "expanded": true,
            "items": [{
                    "text": "Chart Gallery",
                    "url": "overview/index.html"
                }, {
                    "text": "High performance",
                    "url": "overview/high-performance.html"
            }],
            "name": "overview"
        }, {
            "text": "Area Chart",
            "spriteCssClass": "chartAreaIcon",
            "items": [{
                    "text": "Basic usage",
                    "url": "area-chart/index.html"
                }, {
                    "text": "Binding to remote data",
                    "url": "area-chart/remote-data.html"
                }, {
                    "text": "Binding to local data",
                    "url": "area-chart/local-data.html"
            }],
            "name": "area chart"
        }
    ]
}


Greetings,
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
Zdeněk
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Share this question
or