-
Notifications
You must be signed in to change notification settings - Fork 641
Description
We are developing a report writing application and sometimes the pictures of deficiencies are small and we want to print up to 6 images on a page in a 2x3 grid.
This is easily done by making a databand with 2 columns.
However; other images needs to be larger and we need them to be the full width of a page (0 columns)
AND
We want the images to print in the intended order of how the inspection was done. So it could be
SS
L
L
SS
SS
Or any combination of Large and Small images.
I tried sub databands, subreports etc.
When i create two sub data bands inside a larger band the 2 columns band no longer tiles across and everything just prints vertically in one column.
I can make two separate bands, one that only prints large images and one for small but this breaks the order in which we want to display the images.
I even tried with script to alter the databand columns as we generate the report but I get index out of bounds errors.
I'm guessing because altering the databand will alter all instances of it, even the prior ones that already has 2 columns with 2 images. So trying to alter it to one column later down the line breaks everything.
I just can't wrap my brain around the problem in a creative easy to implement way, does anyone have suggestions?