Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Showing results for 
Search instead for 
Did you mean: 

Grid Container in NPrinting

Hello everyone,

Does any one created a grid container HTML in nprinting. I would like to fit my charts in grid view in html report not using any Qlik Container objects.


I would like to create like below




I have used the below query but it is not using.


.grid-container {
display: grid;
grid-template-columns: auto auto;
grid-gap: 10px;
background-color: #2196F3;
padding: 10px;

.grid-container > div {
background-color: rgba(255, 255, 255, 0.8);
text-align: center;
padding: 20px 0;
font-size: 30px;

.item1 {
grid-column: 1 / 2;

<h1>The grid-column Property</h1>

<p>Use the <em>grid-column</em> property to specify where to place an item.</p>
<p>Item1 will start on column 1 and end before column 5:</p>

<div class="grid-container">
<div class="item1">1</div>
<div class="item2">2</div>
<div class="item3">3</div>
<div class="item4">4</div>




Please help me out 




Labels (2)
1 Reply

Do you mean that it is not working when you preview it or did you mean that is not working when you embed it in email body?

If you refer to report embedded into email body then you need to remember that only content from section between <Body></Body> tags is placed in email and you have to consider email clients limitations (which is not related to NPrinting but purely to email clients capabilities of interpreting html)


When using your html code this is what i get on Preview, is that what you wanted?:



cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.