Prevent wrapping in Apex Interactive Reports

To prevent wrapping in IR Columns, add the following code to the "Execute when Page Loads" region of the page details

$('td[headers="ADDRESS"]').attr("style","white-space:nowrap");

where "ADDRESS" is the name of the column to which it applies.

Simples!

NB. If the report has partial page refresh on the pagination scheme, then you will need to create a Dynamic Action that fires after Region Refresh and on Page Load with the above JS.

Comments

Anonymous said…
Great stuff! Even works on non-interactive reports.

Thank you!
Drew James said…
Thanks for this. Works perfectly for Classic reports, just need to use the column alias not the column heading for it - been trying to sort this for ages!