private void Form1_Load(object sender, System.EventArgs e)
{
this.gridControl1.ColCount = 4;
this.gridControl1.RowCount = 201;
this.gridControl1.VScrollPixel = true;
this.gridControl1.QueryColWidth += new GridRowColSizeEventHandler(gridControl1_QueryColWidth);
string s = "";
for(int i = 0; i <= 200; ++i)
{
gridControl1[i + 1, 1].Text = string.Format("a:{0}", i + 1);
s += string.Format("line {0}", i) + Environment.NewLine;
}
gridControl1[70, 2].Text = s;
this.gridControl1.RowHeights.ResizeToFit(GridRangeInfo.Cell(70, 2));
}
Here is what I see with this code using version 4.1. There are no blank pages. Page 2 stops short at row 69. Page 3 starts at the top of row 70 and displays as much of the text in row 70 as will fit on a single printed page. Then Page 4 starts with row 71. So, with version 4.1, the large text cell is started on a new page and is limited to what can be seen on that page, and following this new page, the next cell is printed.