HA
haneefm
Syncfusion Team
November 12, 2007 06:18 PM UTC
Hi Patrick,
You can try setting the Style.Trimming property in the TableControlPrepareViewStyleInfo event of the grid. This will help you show ellipsis at the gridcells when the column width is not enough to display cell text. Below are the codes:
void gridGroupingControl1_TableControlPrepareViewStyleInfo(object sender, GridTableControlPrepareViewStyleInfoEventArgs e)
{
if (e.Inner.RowIndex > 0 && e.Inner.ColIndex > 0)
{
e.Inner.Style.WrapText = false;
e.Inner.Style.Trimming = StringTrimming.EllipsisCharacter;
}
}
Best regards,
Haneef