TreeGrid Filtering all descendants shown but siblings hidden

Is there any way to achieve the following filtering behavior in treegrid:

If to take the example for filtering from documentation:
docs.dhtmlx.com/doku.php?id=dhtm … n_treegrid
what I need is:

  • if to type “music” (not leaf item matches) then treegrid filtering to be done as in example for treegrid.setFiltrationLevel(1) (all descendants of matched items are shown)
  • but to type if “prin” (leaf item matches) then treegrid filtering to be done as in example for treegrid.setFiltrationLevel(-2) (other siblings and upper level item from not matched branches are hidden)

Thank you in advance for any help

Unfortunately this feature is not available.

Are you planning it in the future versions?

we have no such plans in the near future.