dataImageUrlField String
Sets the field of the data item that provides the image url of the ContextMenu items.
Example
<div id="target">Target</div>
<ul id="context-menu"></ul>
<script>
$("#context-menu").kendoMenu({
target: "#target",
dataSource: {
data: [{
Name: "Item 1",
//UrlPath: "urlPath",
Sprite: "spriteCssClass",
//imgUrl: "imgUrl",
description: "some description"
}]
},
dataTextField:"Name",
dataUrlField:"UrlPath",
dataSpriteCssClassField:"Sprite",
dataImageUrlField:"imgUrl",
dataContentField:"description"
});
</script>