Hi,
I am trying to create an event to the click of an item from the kendomenu (see bold part in example).
I'm quite new to this and am using a datasource. Is this possible?
window.onload = () => {
$(document).ready(function () {
//Main Ribbonbar Menu
$("#RibbonMenu").kendoMenu(
{
dataSource: [
{
text: "Main", imageUrl: "icons/flight.png",
items: [
{
text: "Flights", encoded: false, imageUrl: "icons/flight.png",
items: [
{
text: "Operation Flights", imageUrl: "icons/flight.png", select: function (e) { alert('e');} },
{ text: "Flights", imageUrl: "icons/flight.png" },
{ text: "Timetable Flights", imageUrl: "icons/flight.png" }
]
},
{
I am trying to create an event to the click of an item from the kendomenu (see bold part in example).
I'm quite new to this and am using a datasource. Is this possible?
window.onload = () => {
$(document).ready(function () {
//Main Ribbonbar Menu
$("#RibbonMenu").kendoMenu(
{
dataSource: [
{
text: "Main", imageUrl: "icons/flight.png",
items: [
{
text: "Flights", encoded: false, imageUrl: "icons/flight.png",
items: [
{
text: "Operation Flights", imageUrl: "icons/flight.png", select: function (e) { alert('e');} },
{ text: "Flights", imageUrl: "icons/flight.png" },
{ text: "Timetable Flights", imageUrl: "icons/flight.png" }
]
},
{