If I turn on the "Auto-Height" function of an html text doc. The maximum height I can get is 7680 (10x the amount of the height of the app).
Is this a limitation, or a bug?
The reason I have this HTML control inside of a container. I'm taking advantage of the new PDF() function. Which expands Containers. And will create a pdf of whatever is inside of the container. It worked great. Until I found this limitation. Now anything that is too long gets cut off. Both in the app, and the pdf.
The attached zip file is an html doc with a table that is 500 rows long. I am only able to view up-to row 303 in my app.
Steps to reproduce:
Nice.
I ended up saving the HTML file to Sharepoint and then using rclone, wkhtmltopdf, and some python to get the job done.
I was using the new PDF() feature to convert a container to PDF. And the limitation of the view size for the HTML control was.... a problem.
Hi @TxTechnician ,
I was able to replicate the issue and indeed this seems to be an undocumented limitation of the HTML text control. To get this confirmed in the documentation I have submitted a pull request: Added AutoHeight property to HTML text control description by BCBuizer · Pull Request #5345 · MicrosoftDocs/powerapps-docs (github.com)
As an alternative you may try to disable the AutoHeight property and use something like the below for the Height property to make is dynamic:
20 //offset for headers
+ (
15 //height per table row
*
CountRows(Table) //number of rows in the table
)
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional