Discussions

Ask a Question
Back to All

JPList filter by Date picker input

Hi,
We use Web Api to load data, where it have StartDate & EndDate field.
By default it load all data, and allowing users to filter by StartDate & EndDate.

We've been struggle on how to use the Input filter for Date.

Have tried couple thing, also tried to use jQuery-UI Date picker, but it's still not working:

<input data-path=".StartDate" type="date" value="" data-datepicker-func="datepicker" data-datetime-format="{month}-{day}-{year}" data-control-type="date-picker-filter"
data-control-name="StartDate" data-control-action="filter" />

Is there a sample of how to Filter by date?