On Thu, Oct 8, 2009 at 04:06, skar <[email protected]> wrote:
> Hi,
>
> When I press "enter" on a cell, it's in edit mode and when I press
> "enter" again, the celleditor closes and focuses on the next row and
> starts editing it.
>
> I need to save the updated data to the server, before focusing on the
> next row and editing it. The corresponding line seems to be line 1233 of
> qx/ui/table/Table.js "this.moveFocusedCell(0, 1);".
>
> Is there any way for me to override this behavior, and just save the new
> data to my server instead?
>
I think you're going about this in the wrong way. There is already an event
intended for this purpose. When the editor is finished (your second press of
"Enter"), the event "dataEditied" will be fired. This is a data event and
its data is a map with row, col, oldValue, and value as its members. That's
the appropriate place to save your data to the server.
Derrell
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel