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.
Unfortunately, activation email could not send to your email. Please try again.

ejGrid: Menu Filter localization for date

Thread ID:

Created:

Updated:

Platform:

Replies:

124759 Jun 28,2016 04:23 AM Jun 30,2016 08:46 AM JavaScript 2
loading
Tags: ejGrid
Florian Mihalits
Asked On June 28, 2016 04:23 AM

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


Jayaprakash Kamaraj [Syncfusion]
Replied On June 29, 2016 12:20 PM

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. 


Jayaprakash Kamaraj [Syncfusion]
Replied On June 30, 2016 08:46 AM

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. 


CONFIRMATION

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.

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.

;