Yeah, you should be able to do this without a need of Custom CellRenderer.
You should be able turn on/off editable property of DataGridColumn. 

- Make the column editable when record is going to be added
- Make the column non-editable when save button is pressed


Does it help?

-abdul

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005 2:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] editable rows datagrid



Hi pals,

I have a little big problem(hope I can clear it). From a database I retrieve
records I display in a datagrid. I have a column in a datagrid set to
editable="false". When I add new item, this column sholud be editable in
order to fill new data. . Once saved(button pressed) I refresh the
view(datagrid) retrieving the information from the database again.
Obviously in the already saved row my column field must be non-editable.
Can I do this not using cell renderers?

Isaac Bibás




 
Yahoo! Groups Links



 




Reply via email to