Hmm no wasn't the issue.
The problem was that I had a in my itemrenderer component
<mx:Image...source="{flagSource}" ...>
<script>
...
public function get flagSource():Class
{
if(data.rating==0) return aSource;
}
....
</script>
after chaning this to:
<mx:Image...source="{getFlagSource(data)}" ...>
<script>
...
public function getFlagSource(obj:Object):Class
{
if(obj.rating==0) return aSource;
}
....
</script>
it works
cheers
max
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The datagridcolumn needs dataField="rating"
>
>
>