Search code examples
gwtstringsizeofgxt

How to abbreviate a string as the width of a column grid?


I'm using GWT 2.2.0 and GXT 2.2.3.

In my project, I have a grid and its columns has no fixed size and I can resize the columns. In each column I have a div that contains a string result.

I would like to abbreviate the string as the column width. How can I do this?

Thanks.


Solution

  • Use text-overflow. AFAIK it does not work in firefox, but you should find solution for this browser when you search for 'text-overflow'.