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 
http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/i18n/client/NumberFormat.html
 
.

On Saturday, February 9, 2013 5:45:41 PM UTC+1, membersound wrote:
>
> 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 wrote:
>>>
>>> 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 received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to