Hi,
We are using the dp tree view and were wondering if there are any syntax options on the dpFilter. We are using a 2x2 redundant system and would like to show only active systems and not the passive.
We can use dpTree.dpFilter("SYSTEM1_P:*"); to show system 1 datapoints, but would like to combine this with system3, for example dpTree.dpFilter("{SYSTEM1_P:*}{SYSTEM3_P:*}");, is this possible? If so what is the syntax?
Unfortunately the help states that the filter is the width of the margin.
Thank you,
Chris
DP TreeView filter options
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: DP TreeView filter options
I am afraid the filter only accepts simple patterns. Perhaps "SYSTEM[13]_P:*" works. I assume that using a filter like: "SYSTEM?_P:*" or "SYSTEM*_P:*" is not an option, because that would also return other systems.
An alternative solution would be to create your own dp tree view with the tree widget.
An alternative solution would be to create your own dp tree view with the tree widget.