One of the comments I got was a question whether the items could also be sorted horizontally. With a small number of rows the current code can result in less columns than specified. I decided to implement this feature:
I also realized that creating a plug-in would make it much easier to implement this functionality. No need to add JS code, call this code at some point and figure out the right value for the parameters…
So here is my first (public) plug-in, Report2columns.
The easiest way to get the plug-in is om the Plug-ins page of apex.world:
To use it:
- import the plug-in
- create an After Refresh trigger for your report
- chose the action report2columns [Plug-In]
- enter the number of columns and the sorting direction
That’s all there is to it.
Source Article from http://dickdral.blogspot.com/2017/01/plug-in-for-splitting-reports-into.html