We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

By using the grid dialog box (ej-grid), in Spanish so the form appears with the button names in English ... as you can customize these buttons ??


By using the grid dialog box (ej-grid), in Spanish so the form appears with the button names in English ... as you can customize these buttons ??



Attachment: Sin_título_75bd2b91.7z

1 Reply

PK Prasanna Kumar Viswanathan Syncfusion Team November 4, 2016 10:45 AM UTC

Hi Daniel, 

Thanks for contacting Syncfusion support. 

To customize these buttons, use the locale API of ejGrid. To apply localization for the button inside the dialog, use the below locale option. 

Find the code example, screenshot and sample : 


$("#Grid").ejGrid({ 
                ------------------------- 
             locale : "es-ES", 
              ----------------------- 
             columns: [ 
                      ------------------------ 
             ] 
          }); 
        }); 
    </script> 
 
<script type="text/javascript"> 
    ej.Grid.Locale["es-ES"] = { 
        SaveButton: "guardar", 
        CancelButton: "cancelar", 
    }; 
</script> 


Screenshot:  

 


Refer to the Help document for the localization to change the other locale text. 


Regards, 
Prasanna Kumar N.S.V 
 


Loader.
Live Chat Icon For mobile
Up arrow icon