How to put a header and a footer in table layout flat?

Resolved
Conrado asked on March 23, 2018

Hi,
I would like to put a header and a footer in my Flexmonster report in layout flat.
That information I can get on my database.
I would also like to print that header and footer in my Excels, PDFs and other imports types.
Is that possible?
Thanks for attention.

3 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster March 26, 2018

Hello Conrado,
Thank you for your question. We recommend adding some additional divs with all the necessary information on your own. Speaking about export, please have a look at the following example - https://jsfiddle.net/petcnwsx/4/. It describes the approach of setting customFields for the Excel export. The next example describes how header and footer can be set for PDF, Html, and Printing - https://jsfiddle.net/pq18xucm/42/. Also, you can find more information about exporting feature in our documentation - https://www.flexmonster.com/api/exportto/.
Please let us know if everything works fine for you.
Best regards,
Dmytro

Public
Conrado March 26, 2018

Hi Dmytro, thank you for answer. 
About adding some additioal divs, I have doubts about the visualization, because I need to show them in the flat table. is that possible?
Speaking about exports, what you said works fine to me.
But I still have problems with additional information.
Thanks for attention.
Conrado

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster March 28, 2018

Hello Conrado,
Thank you for writing. For now, the only way to add additional information to the Flexmonster's layout is setting the title property (https://www.flexmonster.com/doc/options/). In such case, the best way to achieve the desired behavior is to add all the necessary information manually.
Let us know if there is anything else we can help you with.
Regards,
Dmytro

Please login or Register to Submit Answer