Change Cell Renderers

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:

  • Columns A, B and C are editable.
  • Columns D and E are updated via clicking the button.
  • Changes to any of the first 5 columns results in animations in the Total and Average column.
  • Changes to D and E also result in animations.
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 on how we implemented these cell renderers for inspiration. Most of the ag-Grid users love the animateShowChange cell renderer for showing changes in values. Not many people like the animateSlide one. So if you are trying to impress someone, probably best show them the animateShowChange :)