Hello,I'm having an issue with the layout of my infragistics report that I'm hoping can be achieved relatively easily. I have a report layout that has no data context attached to it and is purely using parameters to fill the data. It works fine, but there is a problem I'm having regarding a table at the bottom of the report.Depending on the length of text entered into the rows, there are instances where the title row and contents row appear on separate pages. Is there any way to ensure that they always both appear on the same page without forcing each row to page break?
To be clear, I understand why it is happening (the text is too long to be on the same page as the title, so it gets pushed down to the next page), but is there any way to make sure they always appear on the same page?Any assistance would be greatly appreciated.
Table Layout:Expected Layout:Erroneous Layout:
Hi Steve,
You'll have to split your table into 3. One table for "First Aid Required", a second table for "PPE Required" and a third table for "Control Measures". Each table will have 2 rows, the first row for the header text and the second row for your parameter. Because you are using a table, it will treat rows as split-able if it gets to the end of the page, however the first row of the table is treated differently as it is expected to be the column header area. Thus, if you split your table into 3 tables, 2 rows per table, the header and following text should remain together if the table needs to be moved to the next page.
Let me know if you have any questions.
Hi Rob,Thanks for getting back to me.I did try doing it with 3 separate tables but I found that they don't get pushed down if the table above contains too much text, they just overlap one another. Is this controlled a property that I'm missing?
Here is a quick screenshot of what I am describing:
It should be getting pushed down. When you configured your 3 tables did you overlap them a bit at design time? I think if they overlap too much when you are stacking them that the positioning logic fails. Can you send me your IGR file so I can take a look? If you don't want to send it over the forums you can email it to support@infragistics.com. Make sure to put "Attention Robert" in the email subject. Also update this thread once you have sent it so I will get notified.
Turns out they were overlapping. I was aiming to have them touching so they appear to all be part of the same table (even though they aren't now), but after some fiddling it no longer overlaps.Thank you very much for your help.