Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Using Memo Columns

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Using Memo Columns
Link Posted: 26-Feb-2006 17:25
Is there a way to limit the number of lines (or set max height) displayed in an autoheightmemo column?  If not, then is there a way to display text instead of the icon in the regular memocolumn and then set the max height there?
Link Posted: 27-Feb-2006 04:02
You can use usual Column class to display multiple lines text, but should set WordWrap option:
[c#]
private void SpecifyWordWrapForColumn(Column col)
{
  col.FormatFlags &= ~StringFormatFlags.NoWrap;
}

In this case height of cells you can specify via FlyGrid.Rows.DefaultRowHeight.