Filter Row - Date with only two year format

2 posts, 0 answers
  1. Bob
    Bob avatar
    123 posts
    Member since:
    Sep 2012

    Posted 11 Feb 2015 Link to this post

    Hi, I am using the Filter Row.  In the date filter, the filter will only work if user puts in full four digit year and not just the last two ("1/1/2014" works, "1/1/14" doesn't).  In the Telerik RadGrid for WebForms, the two-digit format works.  Is there anyway to enable this in Kendo?

    Additionally, the demo below doesn't appear to work for the date filter when tabbing off the date input with a valid date input.
    Steps to reproduce: type in 7/3/1996 for "Order Date", tab off field, all rows disappear even though many have that date
  2. Alexander Popov
    Alexander Popov avatar
    1445 posts

    Posted 13 Feb 2015 Link to this post

    Hi Bob,

    This happens because of the default parseFormats option. In the current scenario I would suggest using the filterable.cell.template option to initialize a DatePicker with custom parseFormats of your choice.

    Alexander Popov
    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Back to Top