2 Replies Latest reply on Jun 23, 2011 6:51 AM by flairjax

    itemRenderer re-render

    flairjax Level 1

      I have a component that uses itemRenderers. I have an itemRendererFunction to select between two different renderers based on a boolean. I have a toggleButtonBar that when the user clicks it I need the list to switch ItemRenderers or run the itemRendererFunction to be run so. The toggle switches itemRenderer to show list mode (just a name itemRenderer) or verbose mode (more detail itemRenderer).


      Tried invalidateDisplayList, but itemRendererFunction doesn't get called when I call invalidateDisplayList.


      Any suggestions?