Sunday, April 29, 2012

Re: How to build text trimming cell for GWT DataGrid

Apply CSS to your cell:

white-space: nowrap;
text-overflow: ellipsis;

-- J.

Am Sonntag, 29. April 2012 14:45:59 UTC+2 schrieb benb:

I'm looking for examples for building a text-trimming cell for GWT
I want the cell to have fixed width and height, and if text is longer
- ellipsis (...) will appear.
The complete text will appear on editing / on tool tip.

In my current DataGrid, the text is automatically wrapped and the row
height grows. I want to avoid that and to keep fixed row height.

Can someone help?


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment