#1 2017-02-10 16:16:09

svanneste
Member
From: Paris, France
Registered: 2015-05-27
Posts: 155

[CLOSED] Report's Footer just after the Header ?

Hello David,
It seems that the report's footer is put just after its header. Or perhaps am I doing something wrong ? Or should I use some CSS to move the footer ?

Some code extracted

<div>Header</div><div>Footer</div><table class="table"><tbody><!-- ngRepeat: Record in Report1.Data | filter:Report1.Query | orderBy:Report1.Order --><!-- ngIf: Report1.Data.length == 0 --><tr class="ng-scope" ng-if="Report1.Data.length == 0"><td class="ng-binding">Chargement...</td></tr><!-- end ngIf: Report1.Data.length == 0 --></tbody></table>

Thanks

Last edited by svanneste (2017-02-10 18:14:24)

Offline

#2 2017-02-10 17:52:35

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,661
Website

Re: [CLOSED] Report's Footer just after the Header ?

Hello Samuel,

Are you tried with the "Report10" sample? I appreciate your code, but, I am not sure if they are copied from the output HTML, which in fact is generated in runtime, then, may doesn't corresponde with what you place in the Report control. Can you please provide here a little application sample to reproduce the problem?

Offline

#3 2017-02-10 18:14:04

svanneste
Member
From: Paris, France
Registered: 2015-05-27
Posts: 155

Re: [CLOSED] Report's Footer just after the Header ?

Thanks David,
Here is a demo project : MyApp.ab

But the report10 example reminded me the way to do : using the TD tag instead of anything else. Don't know why I did not found it myself.

Closed. Thanks a lot

Offline

#4 2017-02-10 18:19:51

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,661
Website

Re: [CLOSED] Report's Footer just after the Header ?

Hello Samuel,

Yes; you got it. The header and footer must be placed in TD tag(s) if we are using a Report's with the Wrapper variable set to "table". If we set the Wrapper variable to "grid" we no need the TD tag(s) at all.

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.