Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Which setting is responsible for ellipsis?

    I'm wondering which setting in list grid (or list grid field for that matter) causes the overflow=ellipsis behavior?

    I'm looking at http://www.smartclient.com/smartgwt/showcase/#grid_autofit_rows -> 'Show 5' in FF 12 and see no ellipses but a cut-off 'l' in China's 'Background' column text that is not black as the rest of the text. Running the same in IE9 does give me the ellipsis.
    I didn't find anything in the sample source code or elsewhere that would explain the ellipsis thing?

    In order to get a more consistent behavior I added this to my own style sheet and it seems to work pretty well.

    Code:
    /* default for all SmartGwt grid cells is to display ellipsis for overflow */
    .listTable td div, .listTable td {
      overflow: hidden;
      text-overflow: ellipsis;
      -o-text-overflow: ellipsis;
      -ms-text-overflow: ellipsis;
    }
Working...
X