Hi,
I have some Jasper reports which are displayed in HTML format. I would like the width of the columns in the HTML tables to automatically resize to fit the content of the widest cell (in that column), such that all the data is displayed.
Currently this does not happen because the HTML generated by Jasper specifies fixed widths for the <table> and some <td> elements, e.g.
<td style="width: 20px; height: 17px;">
<span style="font-family: Arial; font-size: 11px;">foo-bar-baz@examp</span>
</td>
I can't simply remove all these width properties (using JavaScript), because (as shown in the HTML above) any data that would be hidden when using these widths is not even returned to the client-side
Cheers, Don