Check documentation for the latest version of dhtmlxSuite setIconsPath DHTMLX Docs

setIconsPath

sets path to icons

void setIconsPath(string path);
pathstringpath to folder with icons

Example

var myAcc = new dhtmlXAccordion(...);
myAcc.setIconsPath("icons/");
myAcc.addItem("a1", "Item 1", true, null, "icon.png");
myAcc.addItem("a2", "Item 2", false, null, "icon2.png");

Back to top