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.
Syncfusion Feedback

StringTrimming.EllipsisCharacter setting does not work

Thread ID:

Created:

Updated:

Platform:

Replies:

95705 Jul 27,2010 03:07 AM UTC Jul 27,2010 07:26 AM UTC Windows Forms 1
loading
Tags: GridControl
nazmi anuar
Asked On July 27, 2010 03:07 AM UTC

hi..

i've got a problem trying to set a cell to trim its text using the StringTrimming.EllipsisCharacter option (in QueryCellInfo).

because when I resize the column it look like it trimming by word not character.

are there any other property that i have to set to make it work ?

using Syncfusion version 6.1.0.34

Jisha Joy [Syncfusion]
Replied On July 27, 2010 07:26 AM UTC

Hi Nazmi,

Thank you for using Syncfusion products.

Please try disabling the WrapText property while setting the Trimming property and let me know if this helps.

//in QueryCellStyleInfo event handler
e.Style.Trimming = StringTrimming.EllipsisCharacter;
e.Style.WrapText = false;

Regards,
Jisha

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

;