Assuming you have a List<Person> you want to display in a CellTable:
Column<Person, String> firstName = new TextColum<Person>() {
public String getValue(Person p) { return p.getFirstName(); }
};
Column<Person, Date> birthDate = new Column<Person, Date>(new DateCell()) {
public Date getValue(Person p) { return p.getBirthDate(); }
};
Does that help?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.