Hello, Can someone point me towards documentation on how to add “lineTree” AND a style override? I’m trying to make folders in a tree retain a folder icon rather than translate to a file icon if there are no children, but I need the tree lines as well.
Thanks for any pointers
-SrvrSide
Please check http://webix.com/snippet/3095a82a
You can use webix.type to extend existing or creating new visual types.
webix.type(webix.ui.tree, {
baseType:"lineTree",
name:"customTree",
folder:function(obj){
return "<div class='webix_tree_folder_open'></div>";
}
});
Ideal, thank you maksim