Is there a good way to implement a 2 row header with displaytag? We'd need to be able to sort by in both rows as well. I'm unable to find anything on this topic. Thanks for your ideas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a good way to implement a 2 row header with displaytag? We'd need to be able to sort by in both rows as well. I'm unable to find anything on this topic. Thanks for your ideas.
I need this feature.
I need to generate headers to output like the following html:
<html>
<head></head>
<body>
<table border="1">
<thead>
<tr>
<th rowspan="2">Id</th>
<th colspan="2">Name</th>
<TH rowspan="2">Department</TH>
<th colspan="3">Salary</th>
</tr>
<tr>
<th>First</th>
<th>Last</th>
<th>Base</th>
<th>Bonus</th>
<th>Other Perks</th>
</tr>
</thead>
<tr>
<td>1</td>
<td>Fname</td>
<td>LName</td>
<td>QA</td>
<td>$40,000</td>
<td>$5,000</td>
<td>$0.00</td>
</tr>
<table>
</body>
</html
has anyone found a solution for this? i could use this feature as well!
Thanks
Could someone who knows the design tell me what the best approch would be. I will give you my changes when done.
We overrode the BaseExportView class so that we could remove the markup (not only in the headers but in the column data itself)....works great!!
Hi,
Casper can you please help me out that what modifications you made to insert extra row below the table header in DisplayTag.
And if possible than please gimme some sample code for demo.
I will really appriciate your help. Waiting for your reply.
Regards,
Salman
Hi Winston,
have you got any feedback on your question so far?
I have the same problem...
Cheerio,
Ivaylo Kalatchev
I haven't had time to do so, but apparently the right way to get the dev's attention would be to create a new issue on their JIRA page.
I need this feature also. Any word on where is stands currently.
We have some displaytag tables where the headers have "<br>" embedded in their text. This wraps the header text inside the "th".
Unfortunately when you do an export, the "th" also comes out in the header row cells of the CSV.