It is necessary when transferring a table to transfer it to another block, if it does not fit into the previous one. I thought to do this by comparing the height of the table with the height of the block in which it is located, but table.style.height empty value. clientHeight and offsetHeight - 0

0