0 Replies Latest reply on Jan 30, 2012 8:43 PM by yoyonbo

    How to display image data like gif,jpeg,png in DefaultItemRenderer

    yoyonbo

      Hi, I am using customized spark.skins.spark.DefaultItemRenderer on the spark.DataGrid.

       

      I want to display image icon in the cell.

       

      If I use GridItemRenderer, it may be easy.

      But the scroll performance of GridItemRenderer is very slow.

       

      My DataGrid has 30 culumns and 20 rows.

      So I use DefaultItemRenderer.

       

      DefaultItemRenderer has a UIFTETextField.

      It has a htmltext property. I think it may be useful. But I can't display image.

       

      Does anyone know how to display image?