The DevExpress Data Grid control ships with a number of format rules that allow developers and end users to set up cell appearance rules that react to grid data. For instance, you can define a rule to fill cells with a color depending on the cell value in relation to the value range of the bound field.
Starting with v19.1, some format rules can be animated. As the image shows, this feature can be very useful when your data changes frequently and the Data Grid is bound to a RealTimeSource. The animation draws attention to the row and the cell where a change happened.
To enable format rule animations when cell values change, enable the property AllowAnimation for a rule. Currently, these format rule types support animation:
- Color Scale
- Data Bar
- Icon Set
- Rules that derive from FormatConditionRuleAppearanceBase
Data Update Rule
In addition to the animation support for existing rule types, we also implemented a brand-new Data Update rule. Unlike regular icon-based rules that show cell icons constantly, this rule “flashes” icons or appearance settings only when cell values change. Static cells whose values haven’t changed recently show no appearance changes.
It is easy to set up the new Data Update rule in the format rule designer. Select Format only changing values, choose icons for increasing and decreasing values, and specify the icon visibility duration.
Your Feedback Counts
As always, we’re curious about your thoughts. Please feel free to comment below or open a Support Center ticket for further discussion.