I have been struggling with the ‘filter’ method for the Tree component. It turns out that the DHX example is the problem because it IMPLIES that it’s filtering “authors” when it is NOT. It is filtering ALL ‘values’ which also includes all ‘values’ at all levels in the tree hierarchy - including the folders. Here is a snippet showing the problem. I set the filter to the exact parameters in the original example but changed the filter to a string ONLY FOUND in a parent folder and, voila, the alleged “author” filter only finds the folder.
Please provide examples that do what the title states. In this case, “Tree. Data filtering. Authors With A” is NOT what this example does.
It would be VERY helpful to find out how to filter only sublevels in a Tree hierarchy so could someone provide some direction? For example, I have sublevel items that include first and last name. I need to be able to filter by last name. Thanks!