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.
Unfortunately, activation email could not send to your email. Please try again.

RisizeToFit

Thread ID:

Created:

Updated:

Platform:

Replies:

54611 Jan 12,2007 05:55 AM Jan 12,2007 08:59 AM Windows Forms 3
loading
Tags: GridControl
Aleksander Sadovnikov
Asked On January 12, 2007 05:55 AM

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 06:07 AM

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 08:33 AM

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 08:59 AM

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.

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.

;