To export only filtered data from a tree structure, you need to ensure that you're correctly handling the tree nodes. The query method should work for filtering, but you might need to adjust how you handle tree data. If your stores are configured as tree stores, you can use the getChildren method to retrieve children of a node and filter accordingly.
Ensure that your tree nodes are correctly expanded or collapsed based on your filtering logic. If you need to handle tree-specific logic, consider using methods like getChildren or traverseWhile to navigate through the tree structure.
If this doesn't resolve the issue, please provide more details about how your tree data is structured or any specific errors you're encountering.
To extract only the filtered data from the Bryntum Scheduler component, you can use the query method on your store, as you have done. This method will return only the records that match your filter criteria. If your data is structured as a tree, ensure that you are correctly handling the hierarchical data. You might need to recursively check each node and its children to ensure that the entire tree structure is considered in your filtering logic.