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.

Feature Request #296

Thread ID:

Created:

Updated:

Platform:

Replies:

37463 Nov 22,2005 11:56 AM Nov 22,2005 12:22 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 22, 2005 11:56 AM

Any estinate of when (in which version) this request will be completed? Our users are clamoring for it and I''m sure my attempt to implemnt this would be inferior to a builtin grid solution.

Administrator [Syncfusion]
Replied On November 22, 2005 12:22 PM

I do not know when this might be completed. I have forwrded your question onto the development team to see if they have an idea. It is straight-forward to do this using the DrawCellDisplayText event.
private void gridControl1_DrawCellDisplayText(object sender, GridDrawCellDisplayTextEventArgs e)
{
	float w = e.Graphics.MeasureString(e.DisplayText, e.Style.GdipFont).Width;
	if(w > e.TextRectangle.Width)
	{
		e.DisplayText = new string(''#'', e.DisplayText.Length);
	}
}

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.

;