Hello all,
I saw nothing in the posts that might help with this scenario. I have a Power App screen that displays an Excel-like (columns and rows) experience for saving as an output report. I placed the header and flexible height gallery inside of a container and added the control to save so that the page design also saves with the report header. I'm having problems with the flexible height gallery expanding to show all of the rows (cuts off around where the flexible height gallery ends), and it doesn't continue to the next page or continue to show the cut-off row content). I've found several online examples doing similar things with vertical gallery solutions, but haven't found anything for when someone is working with a flexible height gallery. Each row has different heights (some very significantly depending on comments that were added) making the flexible height gallery a good option. I'm not sure another option exists. Anyway, I'm hoping someone might have tried to do something similar and found a solution. Below is the code I've used for the OnSelect property of the save button with Container1 as the content of the screen (minus the save button and back button).
OnSelect: SavePDFtoSharePoint.Run({file:{name:lblHeaderCommentMatrix_4.Text&".pdf", contentBytes: PDF(Container1,{Size:PaperSize.A4, Margin: "0pt 0pt 0pt 0pt", ExpandContainers:true})}});Notify("Successfully Exported PDF File", NotificationType.Success, 5000)

Report
All responses (
Answers (