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

ejGrid: Menu Filter localization for date

Hello.

How can I localize controls inside the menu filter?
I.e. I´m using the locale de-DE and a filter item from type date.
When opening the filter, the date-picker itself is presented in the correct culture, but after selecting the value it is presented in en-Us.
I guess therefore, when the filter request is being submit, the filter value is empty.

{"requiresCounts":true,"skip":0,"take":12,"where":[{"isComplex":false,"field":"ValidFrom","operator":"greaterthan","ignoreCase":false}],"sorted":[{"name":"ValidFrom","direction":"descending"}],"params":{}}

Thanks for your help.

Best Regards,
Florian
PS: I´m using version : 14.2.0.26


2 Replies

JK Jayaprakash Kamaraj Syncfusion Team June 29, 2016 04:20 PM UTC

Hi Florian, 
 
Thank you for contacting Syncfusion support. 
 
Currently we are validating the issue and we will update further details on 30th  June, 2016.  
 
As of now, use the below workaround in order to handle this issue. In this workaround, we need to mention the date format in the required locale/culture. Please refer to the following code example and sample. 
 

$(function () { 
 
            $("#Grid").ejGrid({ 
.. 
                locale: "de-DE", 
                columns: [ 
.. 
                                                  { field: "OrderDate", headerText: "OrderDate", type:"date",format: "{0:MM.dd.yyyy}",width: 80 }, 
.. 
                ] 
            }); 
 
        });  



Regards, 

Jayaprakash K. 



JK Jayaprakash Kamaraj Syncfusion Team June 30, 2016 12:46 PM UTC

Hi Florian, 
A support incident has been created under your account to resolve the issue. Please log on to our support website to check for further updates.  
 
Regards,
Jayaprakash K. 


Loader.
Live Chat Icon For mobile
Up arrow icon