dataIconField String
(default: "icon")
Sets the field of the data item that provides the icon name of the PanelBar nodes.
Example - specify icon name field
<ul id="panelbar"></ul>
<script>
var items = [
{ text: "Ask AI", myIconField: "sparkles", myIconClassField: "my-class" },
{ text: "Comment", myIconField: "comment", myIconClassField: "my-class" }
];
$("#panelbar").kendoPanelBar({
dataIconField: "myIconField",
dataIconClassField: "myIconClassField",
dataSource: items
});
</script>