Thankyou Dirk, i'll look into it. 

I have another question for you (or anyone else) might be able to 
help me on.
a datagrid is by default selectable=true and enabled=false. what i 
would like to achieve is only make the selected row editable
eg

<mx:DataGrid id="dg" cellPress="test(event)">

</mx:DataGrid>
<mx:Script>
function test(event)
{
dg.selectable=false;
dg.editable=true;
}
</mx:Script>

Any ideas how i could make only the selected row editable.

thanks in advance
bod (bhaq1972)



--- In [email protected], "Dirk Eismann" <[EMAIL PROTECTED]> 
wrote:
> Here's an example that shows usage of both properties to achieve 
restricted input in an editable DataGrid:
> 
> http://www.richinternet.de/blog/index.cfm?entry=1A9BC4E5-E330-9F94-
F90F54F91CB45C16
> 
> Dirk.
> 
> > -----Original Message-----
> > From: bhaq1972 [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 16, 2005 10:50 AM
> > To: [email protected]
> > Subject: [flexcoders] how to use datagrid cellEditor and 
focusedCell
> > properties
> > 
> > 
> > 
> > 
> > Hi can someone show me an example where these two properties 
> > (datagrid.cellEditor and datagrid.focusedCell) are being applied.
> > 
> > thanks
> > bod
> >





Reply via email to