import mx.collections.ArrayCollection;
import mx.events.DataGridEvent;
import mx.validators.EmailValidator;
import mx.controls.TextInput;
[Bindable]
public var myAC:ArrayCollection = new ArrayCollection([
{name:"a", email:"a@i.com"},
{name:"b", email:"b@i.com"}]);
private function onEditEnd(event:DataGridEvent):void
{
if(event.dataField == 'email'){
var fCell:Array=[event.columnIndex,event.rowIndex];
var newData:String = TextInput(event.currentTarget.itemEditorInstance).text;
var emailVal:EmailValidator = new EmailValidator();
var valResult:* = emailVal.validate(newData);
if(valResult.type == "invalid"){
trace("not valid");
}
}
}