Panel bar in your demos - how to?

2 posts, 0 answers
  1. Zdenek Plachy
    Zdenek Plachy avatar
    29 posts
    Member since:
    May 2007

    Posted 15 Feb 2012 Link to this post

    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
  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 16 Feb 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top