Could number format validate any positive integer, without zero, and not
empty?
2013/2/10 Andrea Boscolo andrew...@gmail.com
Sorry, misread.
Then either use a column-based field updater that validates your input, or
roll your own, say, EditNumberCell that accepts only number elements,
just
Oh I doubt using Number/NumberCell will help me here. I'm not only looking
for a way to validate the input like written above.
Especially I want to restrict keystrokes to only pass number events into
the cell.
--
You received this message because you are subscribed to the Google Groups
Google
Hi,
I have a CellTable with EditTextBox. How can I attach a custom event
handler to the InputElement that is created if I click an entry?
(My goal is to allow only numbers for a certain TextBox, which is easy
using KeyPressEvent. But how can I attach this to that box?)
Thanks
--
You
Why not using
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/NumberCell.html
?
On Saturday, February 9, 2013 3:43:43 PM UTC+1, membersound wrote:
Hi,
I have a CellTable with EditTextBox. How can I attach a custom event
handler to the InputElement
Because NumberCell is not an editable Cell?
Am Samstag, 9. Februar 2013 15:54:36 UTC+1 schrieb Andrea Boscolo:
Why not using
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/cell/client/NumberCell.html?
On Saturday, February 9, 2013 3:43:43 PM UTC+1, membersound
Sorry, misread.
Then either use a column-based field updater that validates your input, or
roll your own, say, EditNumberCell that accepts only number elements, just
like NumberCell does (I guess it's easy by extending EditTextBox). In both
cases you can use NumberFormat to validate