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. Image for the cookie policy date
close icon

Feature Request #296

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.

1 Reply

AD Administrator Syncfusion Team 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);
	}
}

Loader.
Live Chat Icon For mobile
Up arrow icon