If an existing instance of Luckysheet is destroyed and then recreated with options containing new spreadsheet data, the new spreadsheet is scrolled to the bottom.
If an existing instance of Luckysheet is destroyed and then recreated with options containing new spreadsheet data, the new spreadsheet is scrolled to the bottom.
3条答案
按热度按时间vaqhlq811#
I tried this as a workaround:
but it does not seem to work.
yzxexxkh2#
It turned out, te bug is in another place. There was a value in the options
"scrollTop": 300
but I did not notice it, because it did not have any effect after the firstcreate()
. It works, however, afterdestroy(), create()
.bfnvny8b3#
Hi~ destroy() / create(). It never creates a new sheet. the value is in the cells.
How do you do? @d01010101