Conditional Style

The Conditional Style function enables columns and rows in AdapTable to receive a special style when their contents match a particular Rule.

  • Basic Rule: Style cells, columns and rows in striking ways when their data matches a Predicate Rule you create.
  • Advanced Rule: Use an advanced Expression to create the Rule for a Conditional Style.
  • CSS Class Names: Style cells, columns and rows in striking ways when their data matches rules that you create.
Click on the buttons below to see a demo for each styling function.
If you want to theme the actual AdapTable instance itself (e.g. change the colours and look and feel, please refer to the Theming demos).
Basic Rule Demo
Advanced Rule Demo
CSS Class Names Demo