Edit Conditional Formatting condition at runtime

In WorkWithPlus for Web 15 Upgrade #2 you can add variables to conditions so that end-users can determine filter values at run time.

 

You achieve this by defining variables in the 'Dynamic variables for Conditional Formatting' property.

The Account pattern editor showing the AccountBalance attribute's Dynamic variables for Conditional Formatting property and the open 'Condition dynamic variables' dialog, listing variables GoldUserAmount (default 1000000), PlatinumUserAmount (default 500000), and SilverUserAmount (default 100000), each Editable by User.

 

Then using these variables in the conditions.

The GeneXus Account transaction with the Work With Plus pattern, AccountBalance attribute selected, showing its Conditional Formatting property (Tags) and Dynamic variables for Conditional Formatting set to '&GoldUserAmount, &PlatinumUserAmount'. The open Conditional formatting dialog lists three tag rules comparing AccountBalance against &GoldUserAmount, &PlatinumUserAmount, and &SilverUserAmount, formatted as GoldUser, Platinum User, and SilverUser tags.

 

During execution, in the Title Filter, you will see the filters created for these 'Conditional Formatting', which you can edit in the 'Settings' button for the values you want at runtime and those values will be maintained.

A generated ACCOUNT selection grid where the Balance column shows colored tag badges (Gold User in orange, Platinum User in pink, Silver User in gray) based on conditional formatting rules, alongside columns Bank Id, Bank Name, Person Id, Person Full Name, Currency Id, Currency Description, Last Transaction, Create Date, and Canceled.