Datagrid: Add text ellipsis (...) to data too long for column field

I was wondering if anyone had any experience with cropping text and adding a text ellipsis (…) when text data is too long for a column field.

The actual adding of the ellipsis is obviously easy, but detecting when and exactly where to implement is whats got me stumped.

You can get the column’s width, and probably the text label width in the cell field or a character count or some kind of work around to compare the two, but unless your using a monospace font, i’m hard pressed to find a good solution to adding this.