However, you don’t want this HTML appearing in the Download CSV, so what you can do is generate the HTML in an additional, hidden column in the report then use the hidden column in the HTML Expression attribute. If the logic for the formatting is data-driven, a simple solution is to generate the HTML in an underlying column in the query. ![]() The underlying column data is also used to generate the filter list for the column (if Column Filter Type is “Default Based on Column Type”). The HTML Expression is used only when displaying the data in the interactive report the underlying column data is used for the Download. If the logic for the formatting is not data-driven, the solution is to enter the HTML in the HTML Expression attribute on the report column definition. The problem with embedding formatting in the data for the report is that it is not only used for display in the web page it is also used for the Download option, causing user confusion when HTML code is exposed in the generated CSV file. Hiding HTML when downloading an Interactive ReportĪ common requirement is to format data for display in an Interactive Report, for example showing an icon, making part of the data a clickable link or a button, or showing it in different colours.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |