Monday, October 31, 2011

GWT CELLTABLE: How to set column's cell value depending on changes in other column ?

Hi,

I have 3 column + 10 rows in celltable.
value1Column, value2Column, RecordState
 1 | 2 | *
 2 | 4 | -
:
:
3 | 5 | -
6 | 5 | *

Whenever user changes values either value1 or value2 then immediately cell related to that record set to * in RecordState column.

How to set * in RecordState column on  value changes?

How to use setFieldUpdater to update values in column ?

value1Column.setFieldUpdater(new FieldUpdater<Record, integer>() {
            public void update(int index,
                    RecordVO object, integer value) {
//How to set * in RecordState column ?
}



--
Best Regards,
Vaibhav






--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment