This is a migrated thread and some comments may be shown as answers.

Can't Filter on Dates before 1/1/1900

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 18 Oct 2016, 07:36 PM

This dojo pretty much says it all: http://dojo.telerik.com/uTEpo

Try filtering out 1897 date with a date before 1/1/1900 and after 1/1/1900.

Filtering by any date after 1900 works.

Filtering by any date before 1900 does not work.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Alex Hajigeorgieva
Telerik team
answered on 20 Oct 2016, 08:19 AM
Hi Michael,

Thank you very much for providing a sample demo to illustrate your scenario.

The Kendo UI Datepicker default min date is 1900, 0, 1 as noted in its API documentation at:

http://docs.telerik.com/kendo-ui/api/javascript/ui/datetimepicker#configuration-min

To configure an earlier date, you may take advantage of the Kendo UI Grid columns filterable  setting as a function(second example from the link below) and pass the required min value:

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columns.filterable.ui

For your convenience, I have updated the provided Dojo:

http://dojo.telerik.com/uTEpo/2

Regards,
Alex Hajigeorgieva
Telerik by Progress
 
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
 
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Alex Hajigeorgieva
Telerik team
Share this question
or