On Thu, Jan 6, 2011 at 07:31, RobertW <[email protected]> wrote:

>
> I have a table with editable data. With a double click into a cell, the
> user
> can change the data. But if the program changes the data of the table while
> the user is in this edit mode, this specific cell keeps it current state
> (old data, editable). I was looking for a way to either
>
> a) reset this state to the 'normal' state
> Is there a way to change this state from the script side?
>
> or
>
> b) find a way to prevent the data change then.
> I could not find an event/indicator that the user is editing a cell.
> dataEdited is too late, and dblclick is not specific enough.
>
> Some hints how to solve this are much appreciated.


http://tinyurl.com/2upzpwr

I modified your example to show how to do either your option a or b. Set the
variable at the top to try each.

You were looking in the right place. There _should_ be an event for editing
starting and stopping, but there isn't, and due to the user of lots of
private variables, it's not even possible to dynamically patch the code to
do what's needed. Hopefully what I showed will work for you.

Cheers,

Derrell
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to