Hi, (synfusion noob here) beeing in the process of trying to implement a given design where I am currently stuck with showing an image within a PdfGrid and having the grid flexible in height at the same time.
The requested design is as follows (boxes visualizing PdfGrid rows and columns):
Case 1: No image beeing shown - the grid should grow to the size of the list
Case 2 A: Image beeing shown and beeing larger then the list - the grid should grow to image height
Case 2 B: Image beeing shown and the list beeing larger then the image - the Grid should grow to the size of the list
The Above design can appear multiple times within the report depending on the data supplied.
My setup:
- Add a grid with 2 columns and single row
- in the first column add another grid with 2 rows (1st row contains the title, 2nd row the dynamic list)
- in the only cell in the second colukmn I added the image (as Cell.Value)
Whats working:
Everything is fine as long as there is no image beeing shown (Case A)
Problems:
- Just inserting an image into the column 2 results in a endless calculation cycle (RAM usage growing steadily) which never? finishes
- setting the image row height to the exact height of the image generates the report but renders the dynamic list on the left side useless as this gets cut off at image height
- embedding the image in a dummy grid and setting its heigth seems to work (table and image beeing shown) but all the following elements below the above table are not beeing rendered
Maybe someone could help me find some information about the endless layout cycle or any other image/grid specific stuff.
Happy coding
Bernd