Are you trying to adjust the editable state of the whole column or the
individual cell within the column?  Any reason you can't just use a cell
renderer in the column where you want editability to flip and just have
it read the other columns values?

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gault17
Sent: Wednesday, March 08, 2006 5:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid column assistance needed

I'd like to set the protection and color of a datagrid column based on 
the content of another column in the datagrid. I've tried using a 
cellrenderer with the following code in setValue:
 if (item.nodeId != "xyz") {
   listOwner.getCellIndex().columnIndex.editable = false;
 }
else {
  listOwner.getCellIndex().columnIndex.editable = true;
}
However, the column always is non-editable. Can anyone give me some 
tips or another approach? 

Thanks

Gary Ault
Bureau of Labor Statistics






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to