How to set up dhtmlx suite 6.0 sidebar image?
Can it be changed?
All Sidebar controls have icon property. If you want to use real image, try customHTML control. See example:
https://docs.dhtmlx.com/suite/samples/sidebar/02_configuration/03_custom_html.html
In this example icon of control changed by setting new value to icon property:
sidebar.data.getItem("toggle").icon = "mdi mdi-menu";
But standard way to change any settings of control – use update() method of TreeCollection API:
sidebar.data.update("toggle", {icon: "mdi mdi-menu"});