I have a screen that generates a report with a limit amount of tables that can not be broken.
I have to paginate this report. How to calculate the height of the generated pixels?
I have a screen that generates a report with a limit amount of tables that can not be broken.
I have to paginate this report. How to calculate the height of the generated pixels?
With php I think it's not possible, friend, because it's server-side, but with javascript it's possible, give an ID to the table and then do that
var tabela = document.getElementById('tabela'); var altura = tabela.innerHeight; alert(altura);