Hi.
In a itemrenderer I'd like to access a {data} value in a Script in the
itemrenderer. I just can't figure out how to do this.

I have an ArrayCollection as the dataprovider for the DataGrid.
In a Column, I sue a itemrenderer "status"

Inside renderer.status.as I have a VBox, with a init() function.
Inside init I'd like to test if "data.repeating" != null and if so,
set a label to a specific value, if not null, set to another value.

<vbox><script></script><label/></vbox>

Please - can anyone help me out with an example on how to accomplish
this, I hope, simple task.

(The reason for using a VBox was that I had my hopes for setting the
background color also, so if != null color=XX + text = XX etc.

Thanks for your time
Mark

Reply via email to