1 person found this helpful
Here is how to manage editable columns.
Now if you want to start formatting and validatind data I found easy to add, edit and delete a row with a separate form.
If you like to do it in the datagrid, you need to inestigate for datagrid events using itemEditBeginning and itemEditEnd.
Add an item editor and then you can apply validation in my simple example I'm just restricting numbers, but you could add an ID then set up a validation schema
<mx:DataGridColumn headerText="Numbers" editable="true" dataField="col1" >
<mx:TextInput restrict="[0-9]" />