--- In [email protected], "hworke" <[EMAIL PROTECTED]> wrote:
>
> 
> 
>   Hi, in a advanceddatagrid I need to put same
>   background color if the the cell value is
>   not empty string. In the itemrenderer all I
>   need to check is if the current column value
>   is null or not. I know how to refer a value
>   of the data object in the itemrenderer like:
>   data.whateverParameter. But in this case I
>   need to refer the current column value not
>   a fixed parameter of the data object. How do
>   I refer to the current column vale in the
>   itemrenderer?
>

If you implement IDropInListRenderer, you can get access to the 
DataGridListData properties.  Also, AdvancedDataGrid supports a style 
function, that you can use from outside the ADG to set styles.  For 
more on that http://flexdiary.blogspot.com/2008/06/musings-on-
advanceddatagrid-part-1.html

HTH;

Amy

Reply via email to