Answered on
SO:
http://stackoverflow.com/questions/9891671/gwt-celltable-how-to-avoid-entering-particular-value-in-particular-cell-of-cel
On Tuesday, March 27, 2012 3:55:38 PM UTC+2, vaibhav gwt wrote:
>
> Hi,
>
> I am using GWT2.3.
>
> How to avoid entering particular value in editTextCell- column- Celltable?
>
> Is there any event in editTextCell?
>
> Validation while entering values in cells of celltable
> In case of
> String :Dont enter spaces in cell
> Integer : Dont use characters
>
> + avoiding spaces in cell i.e if cell is type of string then user can't
> use spaces
> although user presses "space bar" button multiple times then that spaces
> should not be enter in cell a
> How to achieve this ?
>
>
> final EditTextCell editTextCell = new EditTextCell();
>
> final Column<RecordVO, String> stringColumn = new Column<RecordVO,
> String>(
> editTextCell) {
> @Override
> public String getValue(RecordVO object) {
>
> }
>
> @Override
> public void render(Context context, RecordVO
> object,SafeHtmlBuilder sb) {
> // Any code?
>
> }
>
> column.setFieldUpdater(new FieldUpdater<RecordVO, String>() {
> public void update(int index, RecordVO object, String value) {
> // This will return updated value
> }
>
> Any help or guidance in this matter would be appreciated.
> --
> Best Regards,
> V
>
>
>
>
> <http://about.me/vaibhavbhalke>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/diSILftd9E4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.