built-in filter - first row being filtered out


We are using the built-in filter feature for a dhtmlxgrid object using ‘#text_filter’ for the header. We have noticed that the first row is not being included in the filtered results if the filter criteria matches the first row alone. Is there any grid property that can be altered/created to avoid this situation?
Also, is there any other alternative if this is the expected behavior of the built-in filter?

Any suggestion on this would be helpful

Thanks & Best Regards

Please check if all of your rows have unique id. Also please check if first row id is not “0”.

thanks for your reply Olga

I was not accurate in my question the last time. Actually, the branch nodes are being filtered out too along with the parent node. So, the filtering is being done only in the leaf nodes.

I was looking at a sample filtering example and found the same behavior
dhtmlx.com/docs/products/dht … ering.html

We have unique Ids for the rows and the first row is not ‘0’.


You can configure filtering level in treeGrid with setFiltrationLevel() method. Please find more information here docs.dhtmlx.com/doku.php?id=dhtm … n_treegrid