As you can see on the screenshot from a jstree,above the triangle on the first node there is an extra vertical dash line:
Anybody knows how to get rid of it?
In the version of jsTree I'm using, v3.3.7, the following call removes the dots...
$('#tree').jstree({
core: {
data: jsonData, // Some JSON data
themes: { dots: false }
}
});
The jsTree API documentation has specifications about this call.
With current version (3.3.3) you can remove dots directly by calling
$('#treeContainer').jstree().hide_dots()
It's not a very fancy solution but I did this:
Get the root node. I'm not sure if its the right way but I'm doing this:
var root = tree.jstree("_get_node");
Find the ins
element and change its background style:
root.find("ins:first").css("background-position-x", "-18px");