Check documentation for the latest version of dhtmlxSuite setFiltrationLevel DHTMLX Docs

setFiltrationLevel

allows to define which level of tree must be used for filtering

void setFiltrationLevel(number level,boolean show_upper);
levelnumberlevel value, -1 value means the last one
show_upperbooleanenables/disables the "Top Level Show" mode

Available only in PRO Edition

Details

the show_upper param enables the mode in which the upper level items without children and matching the filtering criteria are still shown, the items situated on the filtration level and below are hidden. More details are given in the article Filtering in TreeGrid.

Back to top