force show dialog after save

hello,

first of all i wanna say react grid is powerful and awesome, but on grid > editing > template editing, how to prevent the template dialog always show whenever the user click the save, so the dialog just close after user click the cancel button


thanks 


1 Reply 1 reply marked as answer

JC Joseph Christ Nithin Issack Syncfusion Team September 22, 2022 04:08 PM UTC

Hi Faqih,


  Greetings from Syncfusion support.


  Based on your query, you want the dialog to be shown even after you press the save button. Your requirement can be achieved using the actionBegin event of the EJ2 Grid.


Please refer the below code example.


 

actionBegin(args) {

    if (args.requestType == 'save') {

      args.cancel = true;

    }

  }

 

 


Sample: https://stackblitz.com/edit/react-qvcb25?file=index.js


Please get back to us for further details.


Regards,

Joseph I.


Marked as answer
Loader.
Up arrow icon