incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Fernandes <>
Subject Re: Spark Datagrid editor session ending
Date Wed, 28 Nov 2012 16:29:24 GMT
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 <> 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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message