Hi there,
just try to bind a JSON object to the menu k-data-source, but somehow cannot get it work. Could anyone help me out?
just try to bind a JSON object to the menu k-data-source, but somehow cannot get it work. Could anyone help me out?
$scope.menuData = [ { text: "Item 1", url: "http://www.telerik.com" // Link URL if navigation is needed, optional. }, { text: "<b>Item 2</b>", content: "text" // content within an item }, { text: "Item 4", }];<div ng-controller="menuCtrl"> <ul kendo-menu style="display: inline-block" k-data-source="menuData"></ul></div>