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.
Up arrow icon