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.66k stars 818 forks source link

About onafterchanges label:question #1668

Closed dgiglio closed 5 months ago

dgiglio commented 5 months ago

Hi to all,

the doc says onafterchanges is triggered "after all changes are applied in the table". But what delimits all changes? In other words, I cannot understand the difference between onchanges and onafterchanges Thanks in advance.

paulorodalves commented 5 months ago

First the onchange will be called for each cell value changed. In the end, onafterchanges will be called once with an array of information about all cell changed.