Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
2 posts
• Page 1 of 1
najoua
Posts:26
Joined: Fri Nov 27, 2015 10:21 am
How to combine filters ?
Postby najoua »
I have added some combo boxes above my AEScreen to filter alerts. I have for example a combo box that contains all available priorities; one a priority is selected, only alerts with this priority are displayed in the table. The corresponding code is the following:
The problem is that I have four other filters that are coded differently. For example, I have a combo box to filter alerts by family; the line of code used is : table_top.filterRows(makeDynString("Famille"), makeDynString(lst_Famille.text), true);
this information is stored in the Help Text of the alert in the Para module.
My question now is how to combine all my filters to work together. The content of my alert table must correspond to the filters selected ?
if you want to filter for information which can be read from the alerts (_alert_hdl config) the best approach (thinking about performance) is to extend the query.
This very complex as you have to modify the structure of internal datapoint types and also the panels and scrippts need to be modified.
The example you have given should also work together when you are calling the table function (fiilterRows) after the information is displayed in the table.
Best Regards
Leopold Knipp
Senior Support Specialist