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

Feature Request #296

Thread ID:

Created:

Updated:

Platform:

Replies:

37463 Nov 22,2005 04:56 PM UTC Nov 22,2005 05:22 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 22, 2005 04:56 PM UTC

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 05:22 PM UTC

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.

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

;