GWT fills TDs like this by default: <TD>&nbsp;<TD/>
I found this solution now to remove the whitespace(&nbsp;), its a
simple function:

- grid.clear(true);

which does something like this:

- DOM.setInnerHTML(grid.getCellFormatter().getElement(row, column),
""); > for every row & column
(which you can also use by hand, to clear a few cells only of the
whitespace)

So simple, but very annoying if you don't know it, why didn't they
document this??








On May 24, 3:06 pm, outsource lucas <[email protected]> wrote:
> Can't get my table cells to small size because of the whitespace that
> GWT puts in every empty TD cell of the table.
>
> This limits the table cells to a minimum size of 6x18, because of the
> font (can get smaller if I set the font smaller, but will always
> remain limited to the font).
>
> How to remove the whitespace from all those cells?
>
> ----
>
> Or should I just not use the Grid class? Is there any easier
> alternative?
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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

Reply via email to