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