Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Manually/Programatically set locale for IgxGrid's Filter's Datepickers

Hi !

I want to use 'en' as locale for the datepickers filtering a date field in my grid, whatever is the value of window.navigator.language.

I know we can do this setting when we're directly implementing  igx-date-picker in a template.

I've learned that igxCell and IgxCellEditor can do nice things within the grid's body. But found no equivalent for the filter part.

I've managed to obtain my expected result with 

grid.filteringService.datePipe = new DatePipe('en');

But as I'm overwriting a private property, it will never go through any prod build.

Do you have a turnaround ?

I thank you in advance,

Best regards

Parents Reply Children
No Data