hiding leaf

I don’t really want to use a treegrid as I only have one column and would have to completely rewrite the code that generates the json for tree loading.

I really need to be able to filter the tree to hide particular leaf nodes. Currently I just set the child visibility style but that just leaves a blank leaf being shown.

Any mechanism other than climbing under the hood and mucking with the tree dom directly? It doesn’t look like there is an API for this for the dhtmlxtree.

I am using dhtmlx 3.0

In your case you can only redraw the whole tree to ‘hide’ all the nodes you need.