ce icon indicating copy to clipboard operation
ce copied to clipboard

add a callback for Persistance result

Open nopchok opened this issue 3 years ago • 2 comments

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 avatar Sep 06 '21 10:09 nopchok

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.

nopchok avatar Sep 07 '21 05:09 nopchok

Hi,

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

GBonnaire avatar Sep 07 '21 11:09 GBonnaire