I am just trying to export with PDF an html table with some data coming from the backend.
The issue is that sometimes the export is happening normally and sometimes I get an empty table.
My code
type or paste code here
let theArray = [
{
content_id: '1234567',
space_key: 'QMS',
title: 'Page title'
}
];
res.render('internal_reference_table', {table_cnt: theArray})
<div class="ac-content" style="background-color:white">
<table class="aui">
<thead>
<th>ID</th>
<th>{{table_title}}</th>
<th>Space key</th>
</thead>
<tbody>
{{#table_cnt}}
<tr>
<td>{{this.content_id}}</td>
<td>{{this.title}}</a></td>
<td>{{this.space_key}}</td>
</tr>
{{/table_cnt}}
</tbody>
</table>
</div>
When I want to export up to 50 rows, everything works fine.
From 100 rows and more, the issue is happening and sometimes I get the table, and sometimes no.
Is there a limit on the request time?
The request takes 1.8 seconds approximately to load.
Thanks