Friday, December 23, 2011

CellTable CheckboxCell setTitle()

Hi,

I need to set tooltip for CheckboxCell which i'm adding in a
cellTable.
created a new CheckboxCell and then added it to CellTable header.

cannot find any setTitle or anything else.
Even tried with below code :

public void setTitle(String title){
if (title == null || title.length() == 0) {
DOM.removeElementAttribute(getElement(), "title");
} else {
DOM.setElementAttribute(getElement(), "title", title);
}
}

private Element element;

public com.google.gwt.user.client.Element getElement() {
return (com.google.gwt.user.client.Element) element;
}

This too didn't worked.
Can somebody please help me out on this.

Best Regards,
Vivek Dudani

--
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