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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RisizeToFit

Thread ID:

Created:

Updated:

Platform:

Replies:

54611 Jan 12,2007 10:55 AM UTC Jan 12,2007 01:59 PM UTC WinForms 3
loading
Tags: GridControl
Aleksander Sadovnikov
Asked On January 12, 2007 10:55 AM UTC

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.

Administrator [Syncfusion]
Replied On 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

Aleksander Sadovnikov
Replied On 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

Aleksander Sadovnikov
Replied On January 12, 2007 01:59 PM UTC

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;