Hello,

I have and AdvancedDataGrid, where one of the columns have a custom
styleFunction. That function is currently something like: 

private function styleValueLabel(item:Statement,
column:AdvancedDataGridColumn):Object
{
   if (item.isIncome)                           
     return { color: 0x00FF00 }                         
                                
   return null
}       

I have everything related with styles on a runtime css file, except
that Object being returned above. I have created on the CSS the
following style selector:

.incomeValue
{
        color: #00FF00;
}

How do I change the above function so it returns the "incomeValue"
style selector ? The getStyle method only returns the style for a
property...

Thanks,

João Saleiro 

Reply via email to