Wednesday, December 28, 2011

Re: How to align header/footer text in cell table

It may help:

SafeHtmlHeader header = new SafeHtmlHeader(new SafeHtml() {

@Override
public String asString() {
return "<p style=\"text-align:center;\">My Column Header</p>";
}
});
myCellTable.addColumn( myCol, header);

Clearly you can change 'center' with your favorite align.

On Dec 16, 9:26 am, Vivek Dudani <vaxy.d...@gmail.com> wrote:
> Hey guys,
>
> can u tell me how to fix the issue in case of CheckboxCell.
> I need to allign the CheckboxCell in the header column. how can i do that?
>
> Thanks

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