Hello,
Problem with programmaticly setting the height of the group header (q3 2009).
Is the ViewCellFormatting event the place for adjusting the group header height?
Trying things like:
if (e.CellElement.RowInfo is GridViewGroupRowInfo)
{
int height = Convert.ToInt32(Mo.LetterType.Height);
if (height > 10)
{
e.CellElement.RowInfo.Height = height + 10;
}
else
{
e.CellElement.RowInfo.Height = 20
}
}
Anybody got a suggestion?
Kind regards,
Tim van Rooijen
Problem with programmaticly setting the height of the group header (q3 2009).
Is the ViewCellFormatting event the place for adjusting the group header height?
Trying things like:
if (e.CellElement.RowInfo is GridViewGroupRowInfo)
{
int height = Convert.ToInt32(Mo.LetterType.Height);
if (height > 10)
{
e.CellElement.RowInfo.Height = height + 10;
}
else
{
e.CellElement.RowInfo.Height = 20
}
}
Anybody got a suggestion?
Kind regards,
Tim van Rooijen