I think you override IGridItemEditor save() to do what you want. Carol
On 11/28/12 11 :29AM, "João Fernandes" <joaopedromartinsfernan...@gmail.com> wrote: >Carol, with mx:Datagrid you can prevent a edit session from ending by >calling preventDefault on sessionEditEnd event. There is no way to achieve >the same with the spark datagrid. Being able to capture the sessionEditEnd >allow me to use a generic item editor and instead of implementing >validate() in the itemEditor, I can listen to the sessionEditEnd, once the >event is fired, it willl run my listener function and call >preventDefault() >if my data isn't valid, which prevents the session to be terminated. > > >On 28 November 2012 16:18, Carol Frampton <cfram...@adobe.com> wrote: > >> not quite sure what you are trying to do but I bet you can currently >> do it with the existing Spark DataGrid. You may have to do it >> differently. Have you looked at [1]? Would it be possible to provide a >> small example? >> > > > >-- > >João Fernandes