Lots of help in the Flex ref about custom renderers - would
suggest the "renderer component" <mx:TextInput.../> for
single line data. Add an extra variable (boolean) to the DataGrid's
data provider to govern whether a cell is editable or not. Code the
renderer component's "editable" property to be bound to the new
boolean variable. And you're done.