I have a spgridview with dynamic column.
I want fix width and if the content is a part of it is displayed.
I use this code but don't work for me .
BoundField col = new BoundField();
col.HeaderText = field.Title;
col.HeaderStyle.Width = new Unit(50);
col.DataField = field.InternalName;
for fix height i use this code.
e.Row.Height = new Unit(25);
if (grid.Columns.Count > 1)
for (int i = 1; i < grid.Columns.Count; i++)
{
e.Row.Cells[i].Wrap = false;
}
