I'm trying to add some text to the top right corner of my report but it's causing the size of the corner to grow absurdly tall. My reports are completely dynamic but I'll narrow it down to one specific case. It has one row group and one column group that has a child. I set the corner like so
Where rIndex and cIndex are the number of rows and columns (2 and 1 in my example). It works perfectly with the code above but if I simply uncomment the Value to try to get it to say "Sum" the Corner grows huge. Like 5 inches of blank space. I've checked in the debugger and none of my Height values have changed. Everything is set to what I specifically set it to. Please keep in mind I won't be using the designer.
table.Corner.SetCellContent(0, 0, new TextBox
{
//Value = "Sum",
StyleName = "HeaderCell",
Height = new Unit(1),
Width = new Unit(1),
Style =
{
VerticalAlign = VerticalAlign.Top
}
}, rIndex, cIndex);
Where rIndex and cIndex are the number of rows and columns (2 and 1 in my example). It works perfectly with the code above but if I simply uncomment the Value to try to get it to say "Sum" the Corner grows huge. Like 5 inches of blank space. I've checked in the debugger and none of my Height values have changed. Everything is set to what I specifically set it to. Please keep in mind I won't be using the designer.