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 adn 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.
animateShowChangecell 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