Changing row filter Date format

2 posts, 0 answers
  1. Pier-Gilles
    Pier-Gilles avatar
    2 posts
    Member since:
    Aug 2016

    Posted 08 Nov 2016 Link to this post


    I'm trying to change the format  for the filter for a date  (datepicker in the filterRow  from  "MM/d/yyyy"   to "yyyy-MM-dd"

    I attached  a screenshot of the result I'm getting

    The filter format is "MM/d/yyyy"    and my column format is "yyyy-MM-dd" (set by .Format("{0:yyyy-MM-dd}") )


    I want the format to be same for both filter  and column data  -  i.e "yyyy-MM-dd"

    Column options:
     columns.Bound(c => c.DateInvitation)
                 .Title("Date invitation/rappel")
                 .Filterable(f => f.Cell(c => c.ShowOperators(false).BindTo(Enumerable.Empty<string>())));
    grid options:
     .Filterable(ftb => ftb.Mode(GridFilterMode.Row)).Filterable()

  2. Marin
    Marin avatar
    1057 posts

    Posted 11 Nov 2016 Link to this post


    You can customize the filter input and set preferred date format as shown in this forum post:

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top