Kendo MVVM Menu: openOnClick doesnt work

3 posts, 0 answers
  1. Neeraj
    Neeraj avatar
    94 posts
    Member since:
    May 2015

    Posted 08 Feb Link to this post

    Hello,
                  I have created sample for my problem https://dojo.telerik.com/OZuYI/3  . I want to use  openOnClick . It is not running as expected
  2. Neeraj
    Neeraj avatar
    94 posts
    Member since:
    May 2015

    Posted 08 Feb Link to this post

    Additionally the button in my sample above doesnt looks like in the documentation link (In UI there is no  Seperator '|'  between label and arrow)
    https://docs.telerik.com/kendo-ui/controls/navigation/menu/how-to/creating-split-button

  3. Ivan Danchev
    Admin
    Ivan Danchev avatar
    1566 posts

    Posted 12 Feb Link to this post

    Hello,

    By default the openOnClick option is disabled so you need to enable it if you want the submenu to open on click:
    data-open-on-click="true"

    Here's a dojo example showing a Menu in an MVVM scenario with openOnClick enabled.

    Regards,
    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top