draws an icon of the folder
obj | object | the data item object |
common | object | the collection of predefined template functions |
string | the HTML string |
webix.ui({
view:"tree",
template:"{common.folder()} #value#"
});
If a tree features no template, state icon (common.icon()) and folder icons (common.folder()) are drawn for it.
If you set only a folder icon for a tree, state icons won't be drawn.