How to modify the text of the Save and Cancel buttons in the grid edit dialog

Hi, I want to modify the text of the Save and Cancel buttons in the grid edit dialog ,What to do?

Thanks




3 Replies

JC Joseph Christ Nithin Issack Syncfusion Team January 17, 2022 04:55 PM UTC

Hi Paul, 

  Greetings from Syncfusion support. 

  Based on your requirement you want to change the text of the save and the cancel buttons in the edit dialog. Your requirement can be achieved by overriding the default locale text of the save and the cancel button. 


L10n.load({ 
  'en-US': { 
    grid: { 
      SaveButton: 'Submit', 
      CancelButton: 'Discard', 
    }, 
  }, 
}); 







Please get back to us for further details. 

Regards, 
Joseph I. 



PA Paul January 18, 2022 02:22 PM UTC

Thanks for your reply. This is exactly what we were looking for.



JC Joseph Christ Nithin Issack Syncfusion Team January 19, 2022 02:32 PM UTC

Hi Paul, 

  Thanks for your update. 

   We are glad the provided solution resolved your issue. 

   Please get back to us for further assistance. 

Regards, 
Joseph I. 


Loader.
Up arrow icon