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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Locale for NumericTextbox and Datepickers in Grid

Thread ID:





123421 Mar 16,2016 11:04 AM UTC Mar 17,2016 01:24 PM UTC ASP.NET MVC 1
Tags: Grid
Omar Muscatello
Asked On March 16, 2016 11:04 AM UTC

Hello Syncfusion Team,
I want to use a different language for Grid so I added my custom ej.Grid.Locale localization and it works.
The datepicker watermarks are also localized thanks to DatePickerWaterMark property of ej.Grid.Locale.

But there isn't a property to localize the NumericTextbox watermark. So I tried writing:

ej.NumericTextbox.Locale["it-IT"] = {
    watermarkText: "Inserisci un valore"

but it works only if I use the code below for every NumeriTextbox

col.Field(p => p.Numero).NumericEditOptions(new Syncfusion.JavaScript.Models.EditorProperties() { Locale = "it-IT" })

The same is for Datepicker. If I don't set the Locale property of DatePickerProperties using the DateEditOptions method, the months names are in the default language.

col.Field(p => p.Numero).DateEditOptions(new Syncfusion.JavaScript.Models.DatePickerProperties() { Locale = "it-IT" })

Is there a way to inherit localization from the grid control for edit controls like NumericTextboxes and Datepickers?

Jayaprakash Kamaraj [Syncfusion]
Replied On March 17, 2016 01:24 PM UTC

Hi Omar,

We are able to reproduce the issue at our end. So, a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 


Jayaprakash K.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon