Filter Dialog Date Picker Has Incorrect Date Format

I just upgraded to version 2.7.2.  The new filtering dialog box displays dates in the European format, and not the US format.  How can I change this?  The attached JPG shows it is displayed as “02/04/2019”, and I would like it to be “04/02/2019”.
Thanks.

1 answer

Public
Vera Didenko Flexmonster April 3, 2019

Hello, John,

Thank you for writing to us.

The desired date format displayed in the filters can be set using the dateFormat parameter in the filter field of the options object:

options: {
   filter: {
               dateFormat: "MM/dd/yyyy"
   }
}

Here is a JSFiddle example.
 

Please let us know if this works for you and if you have further questions.

Best Regards,
Vera 

Please login or Register to Submit Answer