Monday 4 July 2016

Avoid wrapping of fields in APEX Interactive reports

Due to many columns in the report the data will be wrapped automatically.

Resolution:
1. In report attributes, assign the static ID for the column that you want not be shrink.
2. Add the following code in the page header to remove the wrapping.
$(function()
{     
   $("td[headers=column_name']").attr("nowrap","nowrap");
}); 

Output:


1 comment:

  1. Hi guys,
    Excellent tip. Works well in Apex 5.1.
    Please note though that you have a typo in the function. There is an additional ' at the end of column_name.
    The function doesn't work unless this is removed.
    cheers,
    Steve

    ReplyDelete