On Mon, Oct 27, 2008 at 10:49 PM, Derrell Lipman <
[EMAIL PROTECTED]> wrote:

> Hi.  I think maybe you're looking for the "input" event.  This is fired
> upon each character being typed.  I use this to validate that legal
> characters are being entered.  If not legal, I either flag it with an error
> message, or I replace the text with what was there previously to entirely
> prevent illegal characters from being entered.  It's not ideal.  What would
> be better would be a way to pre-insertion function to actually prevent a
> character from being entered, but this is the best I've found available in
> 0.8.  It actually works quite well.
>

BTW, in case it isn't obvious, you'll likely want to write your own cell
editor factory.  You can base it (almost identically) on
qx.ui.table.celleditor.TextField but add the input event handler to the
instantiated qx.ui.form.TextField cellEditor that createCellEditor()
returns.

Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to