How to add 'Menu' next to title of 'Window' Component

2 posts, 0 answers
  1. Chetan
    Chetan avatar
    2 posts
    Member since:
    Sep 2012

    Posted 19 Sep 2012 Link to this post

     How to add 'Menu' next to title of 'Window' Component or on hover of custiom icon how to populate a menu with 4 items

    Thanks,
    Chetan 
  2. Dimo
    Admin
    Dimo avatar
    8330 posts

    Posted 21 Sep 2012 Link to this post

    Hello Chetan,

    The only way to add a Menu widget to the Window titlebar is to append the Menu's <ul> element via Javascript after the Window is initialized, and then create a Menu widget instance.

    $("#window").prev().append("<ul id='menu'><li>item 1<ul><li>subitem 1</li></ul></li></ul>");
    $("#menu").kendoMenu();

    You will also need some custom styles:

    .k-window-title{display:inline;position:static;}
    .k-window .k-menu{display:inline-block;}


    Regards,
    Dimo
    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