Monday, March 2, 2015

Re: Adding Handler for Celltable ColumnField

Any Suggestion?

On Monday, March 2, 2015 at 11:21:35 AM UTC+5:30, Mohammed wrote:
Hi,
How to add Handler for Cell Table Column Field ?

See the Below Code snippet:

TextColumn<ContactInfor> firstNameTxt = new TextColumn<CellTableExample.ContactInfor>() {
@Override
public String getValue(ContactInfor object) {
return object.firstName;
}

};
cellTable.addColumn(firstNameTxt, "FIRST NAME");

TextColumn<ContactInfor> middleNameTxt = new TextColumn<CellTableExample.ContactInfor>() {
@Override
public String getValue(ContactInfor object) {
return object.middleName;
}
};
cellTable.addColumn(middleNameTxt, "MIDDLE NAME");

How to add handler for firstNameTxt column in outside of this class.I have access of this column Field but i dont no how add handler for this column?Any suggestion?

--
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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment