2 Replies Latest reply on Jun 15, 2009 4:37 AM by Nicolas U.

    Filtering DataTable on a date column

    Nicolas U. Newbie

      Hello all.

      I'm using the great filtering function on datatable.

      It's work fine but i dont know if it's possible to filtre a time column.

      In my entity bean i have a property:

      private Calendar time;

      And i display it in a column:

      But if i type "1" in the time filtre all my row disappears.
      The filtre for the time column don't work with this:

      <rich:column filterBy="#{log.time.time}" filterEvent="onkeyup">
       <h:outputText value="#{log.time.time}">
       <s:convertDateTime pattern="dd/MM/yyyy HH:mm:ss" />

      I don't have any idea to make work the filtre on the display time?

      if you have idea i'm listening to you.