No announcement yet.
  • Filter
  • Time
Clear All
new posts

  • Filter field type date or datetime not working in format 'dd/MM/yyy'

    I'm trying to use the filter for a date field but I'm not getting success in the operation. Can you tell me what may be missing for the filter below to work?

    Before filter:

    Click image for larger version

Name:	Antes do Filtro.PNG
Views:	1
Size:	21.0 KB
ID:	257475
    Click image for larger version

Name:	Durante.PNG
Views:	1
Size:	9.7 KB
ID:	257476

    After filter:
    Click image for larger version

Name:	Depois.PNG
Views:	1
Size:	8.6 KB
ID:	257474

    I am using the Portuguese language and date format 'dd/MM/yyyy'

    OBS: clientOnly = true.

  • #2
    How are you providing the dates to the DataSource? If they are Strings, thatís wrong, they must be Date instanced.

    Also, how did you define the date format? APIs on DateUtil allow setting both the display format and input format; these must match.


    • #3
      Thank you, I'll check and give a feedback.