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

Change name tooltip by default in toolbar grid

Dear,
Anyone know how you can change the name of the tool tip that comes by default in English of a grid.
I have version 14.1.0.41

3 Replies

JK Jayaprakash Kamaraj Syncfusion Team June 1, 2016 01:06 PM UTC

Hi Carlos, 

Thank you for contacting Syncfusion support. 

We suspect that you want to apply localization for toolbar items. Please refer to the below Help document, code example and sample. 


@(Html.EJ().Grid<SyncfusionMvcApplication88.OrdersView>("FlatGrid") 
        .Datasource((IEnumerable<object>)ViewBag.datasource) 
         
                      .Columns(col => 
        { 
            col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Width(75).Add(); 
.. 
        })) 
        <script type="text/javascript"> 
        ej.Grid.Locale["de-DE"] = { 
……. 
 
            Add: "Hinzufügen", 
            Edit: "Bearbeiten", 
            Delete: "Löschen", 
            Update: "Aktualisieren", 
            Cancel: "Stornieren", 
        }; 
    </script> 



If you want to apply localization for toolbar items alone while using “en-US” culture we suggest you to use below code example to apply locale for toolbar items. 

        <script type="text/javascript"> 
            ej.Grid.Locale["en-US"]["Add"] = "Hinzufügen"; 
            ej.Grid.Locale["en-US"]["Edit"] = "Bearbeiten"; 
            ej.Grid.Locale["en-US"]["Delete"] = "Löschen"; 
            ej.Grid.Locale["en-US"]["Update"] = "Aktualisieren"; 
            ej.Grid.Locale["en-US"]["Cancel"] = "Stornieren"; 
    </script> 


Regards, 

Jayaprakash K. 



CP Carlos Palomino June 8, 2016 07:43 PM UTC

Thanks for the answers.
Balances.


JK Jayaprakash Kamaraj Syncfusion Team June 9, 2016 04:35 AM UTC

Hi Carlos,    
 
Thanks for the update. 
 
Get back to us if you need any further assistance. 
 
Regards,   
 
Jayaprakash K. 


Loader.
Up arrow icon