Conditional Formatting - Grid Objects

WorkWithPlus let you format in different ways your grid according to conditions that are validated at runtime. To achieve this you can use Conditional Formatting and Column Tag.

The Challenge

The customer needs a new screen (Extra Selection) to easily visualize the projects' by formatting each grid´s row with a different colour according to the projects' profitability.

GridObjectsConditionalFormatting_img01

Add the following conditions and formats:

  • ProjectRealCost < 6000 and ProjectStatus = ProjStatus.Finished --> Danger
  • ProjectRealCost > 1000 and ProjectStatus = ProjStatus.Started --> Info
  • ProjectRealCost > 12000 and  ProjectStatus = ProjStatus.Finished --> Lite

GridObjectsConditionalFormatting_img02

Run the application and test what you have developed:

GridObjectsConditionalFormatting_img03

 

In the following video you can see an overview of this functionality:

Summary

Well done! You should now be able to:

  • Define a new conditional formatting within your grid