AD
Administrator
Syncfusion Team
August 15, 2005 07:56 AM UTC
There is a style.Trimming you can set to show ellipsis when text does not fit. But if there is no room in the textrectangle for the ellipsis + 1 char, the ellipsis will not display. And it sounds like you do not have this much space available to you.
So, I think your solution will probably work. But in addition to checking whether your flag is set in CellDrawn, I think you would also want to test whether the style.FormattedText is positive length. Otherwise, I think you would be showing your ellipsis for empty cells as well as occupied cells that do not fit.