dataIconClassField String (default: "icon")

Sets the field of the data item that provides the custom class for the icon element of the PanelBar nodes.

Example - specify field for custom icon class

<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>
In this article