Alex, I got it working with Spark Datagrid, sort of.
The cells blink, just like in the animation version (#2 above).  
Additionally, it certainly seems way less resource intensive.
The problem (just like #2 above), is that all the cells change color when
they are first brought into view.
I'm not sure what causing that.
Here is the code:


<?xml version="1.0" encoding="utf-8"?>
<s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009";
                                        
xmlns:s="library://ns.adobe.com/flex/spark"
                                        width="400"
                                        height="300"
                                        >
        <fx:Style>
                @namespace s "library://ns.adobe.com/flex/spark";
                @namespace common "view.components.common.*";
                .on {
                        backgroundColor: red;
                }
                .off {
                        backgroundColor: white;
                }
        </fx:Style>
        <fx:Script>
                                
        </fx:Script>

        <s:Label id="labelDisplay"
                         height="22"
                         width="75"
                         verticalAlign="middle"
                         textAlign="right"
                         styleName="off"
                         />

</s:GridItemRenderer>




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Best-way-to-blink-a-Spark-Datagrid-cell-tp9334p9341.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to