Filter date only for datetime field

2 posts, 0 answers
  1. Bertha
    Bertha avatar
    95 posts
    Member since:
    Aug 2012

    Posted 26 May 2016 Link to this post

    I tried different options but it seems form is obsolete and I don't know how to use filterMenuInit to filter date only for datetime field.  It will give me getTime() error when I select date in date filter.

    columns: [
    { field: "EntryDate", title: "Date", attributes: { style: "text-align:left" }, width: "200px", template: "#= kendo.toString(kendo.parseDate(EntryDate, 'yyyy-MM-ddTHH:mm:ss'), 'dd MMM yyyy hh:mm:ss tt') #" },


    I tried to insert a field of date only but it is empty.

    schema: {
    parse: function (d) {
    $.each(d, function (idx, elem) {
    elem.EntryDateOnly = kendo.parseDate(elem.EntryDate, "MM/dd/yyyy");
    return d;

  2. Viktor Tachev
    Viktor Tachev avatar
    2499 posts

    Posted 30 May 2016 Link to this post

    Hi Bertha,

    Please note that ignoring the time part is not supported out of the box. If you would like to implement such feature you can use an external filter and define a custom filter operator as described in the article below:

    Viktor Tachev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top