DP TreeView filter options

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
chris@blue-catalyst.co.uk
Posts:32
Joined: Tue Jun 11, 2013 9:27 am

DP TreeView filter options

Post by chris@blue-catalyst.co.uk »

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

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: DP TreeView filter options

Post by gschijndel »

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.

2 posts • Page 1 of 1