Trimming or hiding rows, when setting the table data through loadData(...) or updateSettings({ data: ... }) and having a fixed row and column, doesn't update the table height.
After a resize of the browser window, the table height is correct.
When setting the data immediately in new Handsontable(...) or when not using fixed rows and columns, the problem doesn't occur.
Steps to reproduce
Have fixedRowsTop: 1, fixedColumnsLeft: 1
Set data through loadData(...) or updateSettings({ data: ...})
Trim rows
Scrollbar still shows the height before the trimming
…e()` calls. (#7286)
* - Remove the 'adjustElementsSize' calls from 'applyToDOM' methods.
- Remove the 'areElementSizesAdjusted' flag.�
- Add a test case for #7241
(#7241)
* - Add a changelog entry.
(#7241)
Description
Trimming or hiding rows, when setting the table data through
loadData(...)
orupdateSettings({ data: ... })
and having a fixed row and column, doesn't update the table height.After a resize of the browser window, the table height is correct.
When setting the data immediately in
new Handsontable(...)
or when not using fixed rows and columns, the problem doesn't occur.Steps to reproduce
fixedRowsTop: 1, fixedColumnsLeft: 1
loadData(...)
orupdateSettings({ data: ...})
Demo
https://jsfiddle.net/t8qjd7k4/6/
Your environment
The text was updated successfully, but these errors were encountered: