venkat_cr
08/27/2024, 6:06 PMCeligo AI
08/27/2024, 6:07 PMAI generated answer (using internal Slack threads):In order to make an Advanced PDF table show till the end of the page with empty results, you can use a combination of CSS and Freemarker logic. Firstly, you need to ensure that your table has a fixed height that spans the entire page. This can be achieved by setting the height property of your table in your CSS. Secondly, you need to use Freemarker logic to fill in the empty rows when there are no results. This can be done by using a #list tag to iterate over your results and then using an #if tag to check if the current row is empty. If it is, you can then output an empty row. Here is a simplified example:
html
<style>
.myTable {
height: 100%;
}
</style>
<table class="myTable">
<#list results as result>
<tr>
<#if result?has_content>
<td>${result}</td>
<#else>
<td> </td>
</#if>
</tr>
</#list>
</table>
In this example, the table will always span the entire page due to the height property being set to 100%. The Freemarker logic will then ensure that if a row is empty, an empty row will be outputted, thus ensuring that the table always shows till the end of the page, even if there are no results.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
08/27/2024, 6:07 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836792171
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822757363
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820119143
Celigo AI
08/27/2024, 6:07 PMCeligo AI
08/27/2024, 6:13 PMCeligo AI
08/27/2024, 6:13 PM