'DevExtreme components dxo-popup

Im using DevExtreme DXO-editing with the mode = popup, and popup dxo-popup, the popup is loading, data is getting binded, i have some custom dropdowns so had to do some modifications, So we already get the Save and the Cancel button, but i wasn't able to capture the events of save and cancel, as i had to reset my data when popup closes. So i had added a toolbaritems (save and cancel) here i get my desired object which i need to send to save, the issue is that Im not able to close the popup after save is completed ( automatic close once data is saved)

Can anyone guide me on this, im a bit new to this.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source