treelist filter date column filter "is equal to" not working

2 posts, 0 answers
  1. Panda
    Panda avatar
    2 posts
    Member since:
    Apr 2014

    Posted 23 Mar 2015 Link to this post

    i'm trying to filter a date column in kendo treelist.
    whenever i try to filter the date column using "is equal to" the result will always return empty

    here is the example in telerik dojo

    try to filter the date using "is equal to", for example "is equal to March 23 , 2015" the result will always return empty even though the record do exist.
    however if i chose "is after March 23 , 2015", the "March 23, 2015" record is displayed.
    am i missing something?
    is there a way to fix this?

  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 25 Mar 2015 Link to this post

    Hello Panda,

    Comment your formatting that you have applied to the column and see that the date that you have provided for that last leaf record inside the TreeList has a time part something like 10:00PM. Keep in mind that when "is equal to" is used, the dataSource compares the two dates and their number representation, which means if the time is different they wont be equal.

    I modified your example to change the date of the last record so its time part is 12:00 AM.

    Try to filter the date by 18/03/2015 and see the record will be shown in the TreeList.

    Kind Regards,
    Petur Subev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top