Closed bodja closed 4 years ago
table of 100% height breaks down thead and tfoot displaying.
<div style="height: 100%"> <table fixed-header style="height: 100%;"> .... </table> </div>
Suggestion: tbody.style.height = elem.offsetHeight - elem.querySelector('thead').offsetHeight - (elem.querySelector('tfoot').offsetHeight || 0) + 'px';
tbody.style.height = elem.offsetHeight - elem.querySelector('thead').offsetHeight - (elem.querySelector('tfoot').offsetHeight || 0) + 'px';
table of 100% height breaks down thead and tfoot displaying.
Suggestion:
tbody.style.height = elem.offsetHeight - elem.querySelector('thead').offsetHeight - (elem.querySelector('tfoot').offsetHeight || 0) + 'px';