WinForms - Data Grid - Animated Format Rules (v19.1)

25 April 2019

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.

Static Format Rules

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.

Animated Format Rules

To enable format rule animations when cell values change, enable the property AllowAnimation for a rule. Currently, these format rule types support animation:

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.

Data Update Rule Animations

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.

Format Rule Designer

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.

8 comment(s)
Mohamed Al Zayani

it is nice, i think this is more applicable to real time dashboards scenarios (maybe like stock exchange)

25 April, 2019
Appy Developers

Very nice, thanks on the hard work.

25 April, 2019
Gabriel Phaiphai

This will be perfect for Pivot Grid as well. Great job on the Grid

25 April, 2019
Christopher Jay

Great work.  Looks awesome.

25 April, 2019
Jawad Khan

It would be nice if it can work with INSERT and DELETE... i.e.

1. if new row is inserted, the row become green and

2. if a row is removed, it becomes red and removed with a delay.

25 April, 2019
rami jazbeh

Very nice

26 April, 2019
Thorsten Sommer

I love it. Will use it for m next project.

26 April, 2019
Sara Radmaneshs

Perfect and excellent.

27 April, 2019

Please login or register to post comments.