If the new rows have a timestamp of when they were added, you can use
the AdvancedDataGrid styleFunction to change the style of a cell based
on that timestamp. Both AdvancedDataGrid and AdvancedDataGridColumn
have the property.
Here is a style function I used that made the text bright red for new
records and then faded to black as the record aged.
protected function styleElapsedTime(data:Object,
col:AdvancedDataGridColumn):Object
{ var color:uint = 0xff0000;
var ts:Date = new Date(data.timeStamp);
var now:Date = new Date();
var elapsedTime:int = (now.time - ts.time) / 60000 ;
color = ColorUtil.adjustBrightness(color, - (elapsedTime * 4));
return {color: color};
}
--- In [email protected], "faserone" <faser...@...> wrote:
>
> I would like to highlight the new rows added to a datagrid when the
> dataprovider change.
> Any hint?
> Thanks.
>