I've made a custom view named asset_monthly_report that uses two date ranges to calculate overlapping days in my ticketing system. I'd love to put one of the date ranges above my table so that users can have all the information without that date range redundancy (i.e. showing the range start and end on every row of data).
To put it grahpically, this is what I want (where line 1 is above the table headers, line 2 contains field headers, 3+ contain field values):
- ________FROM: (value of date 1) TO: (value of date 2)___________
- ASSET | OVERLAP
- (row 1 data)
- (row 2 data)
What I get when I try to put the value of a field above the headers, though, is this one line 1:
________FROM: #tpx_asset_monthly_report_DateS TO: #tpx_asset_monthly_report_DateE________
This is what I have to try to accomplish that:
In CustomTemplateHeader:
<h4 align="center">FROM: {{{value DateS}}} TO: {{{value DateE}}}</h4>
<table cellspacing="0" class="ewTable ewTableSeparate">
<thead>
<tr>
{{{list_options}}}<td>{{{Asset}}}</td><td>{{{Overlap}}}</td>
</td>
</tr>
</thead>
In CustomTemplateBody:
<tbody>
<tr{{{row_attrs}}}>
{{{list_options}}}<td>{{{Asset}}}</td><td>{{{Overlap}}}</td>
</tr>
</tbody>
</table>
Is there a way to put the value of a field above the headers of a table? What am I doing wrong here? Any help would be greatly appreciated!