I'm finding a behavior that's really strange (at least, on the CSS side) in the CellTable component of GWT.
Suppose we examine the following CellTable demo: http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwCellTable
If I try to add ellipsis to the header (TH tags) only by using CSS, by the following code (we can try to add this in the clean.css file directly in the Developer tools of browser):
th {
text-overflow: ellipsis;
overflow: hidden;
width: 50px;
display: inline-block;
white-space: nowrap;
}
This works with a normal HTML test page (according to this question), but not in this case: the headers will break into newlines instead.
I can't figure out which CSS properties of the elements have interfered with this simple approach.
Sorry for the simple question, but I'm learning CSS and try to experiment more with it, thus thanks in advance for any support. Otherwise, I can try to solve this on the Java side, and custom the header with a builder.