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.77k stars 828 forks source link

add a callback for Persistance result #1437

Closed nopchok closed 1 month ago

nopchok commented 3 years ago

Hello friends, how are you?

Due to some update result maybe error. Please add callback function in Persistance (obj.save)

i see the result from obj.save https://github.com/jspreadsheet/ce/blob/master/src/index.js#L6974 but the result after post to target url, did not return,

Please add the result return. https://github.com/jspreadsheet/ce/blob/master/src/index.js#L6993

the code something like this obj.dispatch('onsave', el, obj, data, result );

Thanks

nopchok commented 3 years ago

One more issue. The Persistance did not get the updated value after function updateTable executed. https://github.com/jspreadsheet/ce/blob/master/src/index.js#L10779

Please correct it.

Thanks.

GBonnaire commented 3 years ago

Hi,

Can you make a PR ? or if you want you can use pro version with the full system on persistence

mariano-pualiu commented 1 month ago

@GBonnaire what you mean "with the full system on persistence" what exact features for persistence are in the pro version?, I'm interested

hodeware commented 1 month ago

https://jspreadsheet.com/docs/persistence