User (Old forums)MemberMarch 13, 2008 at 7:44 amPost count: 23064
Hello All…. This is my first post so here go’s….
I have a grid which gets printed as a report. One of the rows is used as a heading which has a height of 32 instedad of the default 16. I have set this row to ReportOnEachPage which works great except when it is printed on any page after the first page the row height has changed back to the size 16.
Can anyone suggest a way around this issue…
Imported from legacy forums. Posted by Kevin (had 2918 views)Xceed SupportMemberMarch 18, 2008 at 4:35 pmPost count: 5658
I was not able to reproduce this issue. Could you suggest a way to do so (code, …)?
Imported from legacy forums. Posted by CharlesB (had 239 views)User (Old forums)MemberMarch 19, 2008 at 5:32 amPost count: 23064
i’m adding a row which will be used as a heading like this;
Dim MyRow4 As Xceed.Grid.DataRow = MyGrid.DataRows.AddNew()
MyRow4.Cells(0).Value = “Type”
MyRow4.Cells(1).Value = “Month”
MyRow4.Cells(2).Value = “Total MIF To Date”
MyRow4.Cells(3).Value = “% Growth”
MyRow4.Cells(4).Value = “Total Revenue”
MyRow4.Cells(5).Value = “% Growth”
MyRow4.Cells(6).Value = “Invoiced TDV”
MyRow4.Cells(7).Value = “% Growth”
MyRow4.Cells(8).Value = “AVG Invoiced TDV”
MyRow4.Cells(9).Value = “AVG C/Cost”
MyRow4.Height = 32
MyRow4.ReportStyle.RowHeight = 32
MyRow4.ReportStyle.RepeatOnEachPage = True
Then to print the grid I do this;
Dim PrintDoc As PrintDocument = MyReport.CreatePrintDocument
PrintDoc.PrinterSettings = printerSettings
Any ideas?…. I’ve only been using this grid for a few weeks so there is a good chance I’ve messed up somewhere ;o) however it does repeat ok… just this row height goesback to size 16 which is what the rest of the rows are set to.
Imported from legacy forums. Posted by Kevin (had 333 views)Xceed SupportMemberMarch 20, 2008 at 9:39 amPost count: 5658
From the documentation:
“The value of the RepeatOnEachPage property will be ignored if it is set on the RowReportStyle of one of the GridReportStyle.DataRows in a GridReportStyle.”
Imported from legacy forums. Posted by CharlesB (had 3977 views)
- You must be logged in to reply to this topic.