Hi Folks
I’m trying to produce a report using a LIST view. I can get it on the screen to look just as I want it to, with the right formatting into various columns etc, as per the first diagram. But when I print it just drops back to being in one long single column format.
Is there a way to actually make the LIST print the way it looks on the screen? Am I missing something obvious here?
This is what it looks like on screen:
This is how it prints:
All advice gratefully received.
Ok, I found part of the culprit - some left over CSS that I removed, and now I am way closer. Just one paragraph field that wont stay where I want it. Anyone know how I can keep that paragraph where it is shown on the screen?
On Screen:
In print - it drops below the other sections:
In case it helps , I find that if I scale the PDF print to below 33%, that paragraph stays where it is supposed to be, but if I set it more than 33% it drops down. 32% is unreadably small. But maybe that points to what needs to change?
OK, I found a way to fix the issue. I moved the wider field Cause Detail(s) down under Cause(s) and put Control(s) up on the right.
Then I forced the wider field to be a fixed 800px when printed, using below CSS, thanks to my good friend ChatGPT.
@media print {
.kn-detail.field_409 .kn-detail-body {
width: 800px; /* Ensures the element is exactly 800px wide /
min-width: 800px; / Prevents the element from being smaller than 800px /
max-width: 800px; / Prevents the element from expanding beyond 800px */
}
}
And it works as expected. Case closed.