6 Replies Latest reply on Mar 1, 2011 10:44 PM by Flex harUI

    Updating the dataprovider of a datagrid with itemrenderers throws renderers

    mike_morales Level 2

      Hello all,

       

      I've run into a problem that I can't seem to figure out.  I have a datagrid that is bound to an arraycollection as the data provider.  A few of my DataGridColumns have itemrenderers.  The renderers work great on the first run, but once the dataprovider is updated, my datagrid renderers fall apart.

       

      My renderers basically highlight cell items that fall into a particular range. Interestingly, if I have an itemrenderer attached on any dataGridColumn, I get a few repeating/identical rows and itemrenderes that are active in places that they shouldn't be once the dataprovider is updated. Has anyone run into this? How did you solve this? Thanks in advance!!

       

      Mike