I’m need to add Header & Footer in the grid view itself not while importing, is it possible?
I tried to add Header & Footer but styling is not rendering while exporting to Excel & CSV types, any other solution?
Thank you for writing to us.
Our team would like to kindly explain that HTML format can be used only for PDF, HTML, and Image exports.
In case export to CSV/Excel is performed, HTML tags will be treated as a plain text for CSV or ignored for Excel.
Please refer to our documentation to get detailed information about correct ways to specify headers and footers for CSV and Excel export.
We hope it works for you.
Thanks for your reply.
I can understand now why the styling is not getting rendered while exporting to CSV & Excel, but i need a solution to add header and footer in the grid itself as mentioned in the figure ‘needed-header-footer’ in the above post.
Is there any solution to add header and footer directly in the grid?
Thank you for your feedback.
The header can be added using the
title property of the
grid object (or
chart object if the title needs to be added for charts). Both mentioned objects are properties of the options object.
Please note that such a header is represented as a simple single-line text.
Concerning the footer, Flexmonster does not provide such a possibility.
Even so, an additional HTML element containing the desired content can be placed right after Flexmonster’s container in order to achieve the desired result.
We hope it works for your case.