We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

RisizeToFit

When resizing too long value, an new line added, I need to display ellipsis symbol "...". Can you help me and explain how can I make this.

3 Replies

AD Administrator Syncfusion Team January 12, 2007 11:07 AM UTC

Hi Alexandar,

Try setting the Trimming property for the cell.

GridStyleInfo style = this.gridControl1[2,2];
style.Trimming = StringTrimming.EllipsisCharacter;

Let me know if this is not what you needed.

Best Regards,
Haneef


AS Aleksander Sadovnikov January 12, 2007 01:33 PM UTC

Thanks for you, I understand,
would you mine to explain me how to make this for all cells in a GGC?

>Hi Alexandar,

Try setting the Trimming property for the cell.

GridStyleInfo style = this.gridControl1[2,2];
style.Trimming = StringTrimming.EllipsisCharacter;

Let me know if this is not what you needed.

Best Regards,
Haneef


AS Aleksander Sadovnikov January 12, 2007 01:59 PM UTC

It`s work. Thank you.
I added
GridStyleInfo style = gridGroupingControl1.TableDescriptor.Appearance.AnyCell;
style.Trimming = StringTrimming.EllipsisCharacter;

Loader.
Live Chat Icon For mobile
Up arrow icon