The grid provides two cell renderers for animating changes to data. They are:
agAnimateShowChangeCellRenderer:
The previous value is temporarily shown beside the old value with a directional arrow showing increase or decrease in value. The old value is then faded out.agAnimateSlideCellRenderer:
The previous value shown in a faded fashion and slides, giving a ghosting effect as the old value fades and slides away.The example below shows both types of animation cell renders in action. To test, try the following:
--ag-value-change-delta-up-color
and --ag-value-change-delta-down-color
CSS Variables.We hope you like the animation cell renderers. However you can also take inspiration from them, and create your own animations in your own cell renderers. Check out our source code on GitHub to see how we implemented these cell renderers for inspiration.