This might be an easy one for you DataGrid experts out there. I following an example for adding rows to a DataGrid dynamically from within a row
http://www.switchonthecode.com/tutorials/adding-dynamic-rows-to-flex-datagrid
My tweak that I am trying to acoomlish, is to have a custom itemEditor that is a form with two TextInputs and an OK button. For the life of me I can't get that button to trigger the DataGrid's itemEditEnd event where I have some processing before I call destroyItemEditor. I tried dispatching the event myself directly but got a strange error in DataGrid's updateDisplayList saying editedItemPosition was null (editedItemPosition.rowIndex). Any ideas?