Posted 15 March 2022, 2:55 pm EST
Hi,
Which function is called when we save an edit in the name manager modal?
We are trying to override the edit function, removeCustomName and addCustomName isn’t enought because edit call remove first then add.
Forums Home / Spread / SpreadJS
Posted by: david.paradis on 15 March 2022, 2:55 pm EST
Posted 15 March 2022, 2:55 pm EST
Hi,
Which function is called when we save an edit in the name manager modal?
We are trying to override the edit function, removeCustomName and addCustomName isn’t enought because edit call remove first then add.
Posted 17 March 2022, 5:54 am EST
Hi David,
You need to override the Designer.addCustomName command’s execute function for the desired functionality.
Please refer to the sample that I have created for you: https://jscodemine.grapecity.com/share/OS2DJ-LXr0_2pLmF5FBR2Q/
Please let us know if you face any further issues.
Regards
Ankit