Hi Eduardo,

Did you get this to work?

if so could you post a little of how you did get the whole row to be
disabled?

I want to do something similar and don't know where to start.

Thanks and Regards

Mark

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Subclass the DG and access listItems array to get to the other cells.
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Eduardo Dias
> Sent: Tuesday, April 03, 2007 10:58 AM
> To: [email protected]
> Subject: [flexcoders] Datagrid - Disable row
> 
> 
> 
> Hi,
> 
> I have a datagrid with three columns.  In my first column I have a
> itemrenderer with checkbox and in the other two columns 
> I have two labels. I'm trying to disable a row of the datagrid when the
> user pick a checkbox in the first column. 
> I used selectedItem to get a row and itemToItemRenderer to get the
> reference of the row, but just the first column of the 
> datagrid is disabled.
> 
> 
> var someItemReference:Object = my_datagrid.selectedItem;
> var itemRenderer:IListItemRenderer = 
> my_datagrid.itemToItemRenderer(someItemReference);
> itemRenderer.enabled = false;
> 
> 
> Any suggestions?
> Cheers!
>


Reply via email to