6 Replies Latest reply on Sep 28, 2010 4:09 PM by rck_Cena77

    Spark itemRenderer background color troubles

    Budkin76 Level 1

      I've been spinning my wheels on this one all day. I have a DataGrid, and using a CSS file I have made the background transparent. I needed a column with icon images in each cell so I'm using an itemRenderer to add the images, which is working fine.

       

      The problem is that the background of the cells using the item renderer is an off white solid color, where I need it to remain transparent like the rest of the DataGrid. I've tried using styles and setting backgroundAlpha, and I've also tried using the inline contentBackgroundAlpha, all to no avail.

       

      The weird thing is that in all the documentation I've read says that the default background for an itemRenderer is transparent, which I'm finding is not the case. If anyone that has a solution to this, it would be much appreciated.