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.75k stars 827 forks source link

onchange:update problem with Ctrl-Z #1283

Open MaximPetrichuk opened 3 years ago

MaximPetrichuk commented 3 years ago

Hi, Thanks for great framework!

I found one bug when was studying examples: https://bossanova.uk/jexcel/v4/cases/highcharts

I changed value, the graph was rebuilt, then clicked Ctrl-Z, the old value was returned on the sheet cell, but the chart was not rebuilt.

Maxim.

GBonnaire commented 3 years ago

It's not a bug, for make that, you must use onredo event and onundo event

onredo: update,
onundo: update,
onchange: update,