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

Kendo MVVM Menu: openOnClick doesnt work

2 Answers 111 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Neeraj
Top achievements
Rank 1
Veteran
Neeraj asked on 08 Feb 2018, 09:10 AM
Hello,
              I have created for my problem  I want to  It is not running as expected

2 Answers, 1 is accepted

Sort by
0
Neeraj
Top achievements
Rank 1
Veteran
answered on 09 Feb 2018, 02:13 AM
the button in my sample above  looks like in the documentation link (In UI there is no   '|'  between label and arrow)
https://docs.telerik.com/kendo-ui/controls/navigation/menu/how-to/creating-split-button

0
Ivan Danchev
Telerik team
answered on 12 Feb 2018, 07:55 AM
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.
Tags
Menu
Asked by
Neeraj
Top achievements
Rank 1
Veteran
Answers by
Neeraj
Top achievements
Rank 1
Veteran
Ivan Danchev
Telerik team
Share this question
or