в mx

ataGrid :

Код AS1/AS2:
override protected function drawRowBackground(s:Sprite, rowIndex:int, y:Number, height:Number, color:uint, dataIndex:int):void {
var renderer:IListItemRenderer = indexToItemRenderer(dataIndex);
var data:Object = renderer.data;
//color = function(data)
super.drawRowBackground(s, rowIndex, y, height, color, dataIndex);
}