jspreadsheet / ce

Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
https://bossanova.uk/jspreadsheet/v4
MIT License
6.72k stars 824 forks source link

Bug: hideIndex() breaking frozen columns #1201

Open StephaneAdeso opened 3 years ago

StephaneAdeso commented 3 years ago

Hi, when I use the hideIndex () method, it works fine and hides the index from me. But I have the first 2 columns frozen and when I scroll to the right it breaks them. ( i am using google chrome )

image

kunalshewale commented 3 years ago

This happens as within the updateFreezePosition method there is no check for hideIndex. Thus it always subtracts 51px from the updated left position.

StephaneAdeso commented 3 years ago

Thanks for answering. What is the solution/code to fix this ?

kunalshewale commented 3 years ago

For now, you might have to fix it locally.

https://github.com/paulhodel/jexcel/issues/1104