0 Replies Latest reply on Nov 24, 2011 8:21 AM by Joe_ROz

    How to add animation in DataGrid CellRenderer


      The problem is I have datagrid that should display icons in one of it's columns, those icons have animation that should play according to changein data in the dataProvider.

      I have custom cellrenderer who does exactly that. The thing is Cellrenderers, as you know, are being recycled what causes the animation to to play on the wrong item when scrolling.

      Scrolling or selecting an item also causes all the renderers to be redrawn what causes the animation to stop/disappear.


      Is there a way for making the renderer play animation and not be influenced by user interaction and only by data change?