How do I get the filter menu to allow input of Date *and* Time for a DateTime column?
Posted on:31 Aug 2020 19:36
Thank you for this feedback, Scott.
Just to clarify, both are possible at the moment through a filter template. You can find an example of min-max for dates here and for numbers here. The fact that the data and filter descriptors are entirely in your control means you can also choose to add, alter or ignore the time portion.
The built-in filtering also lets you use operators like "is before" and "is after" where time portions are far less important.
Lastly, you can implement the data source operations (such as filtering) yourself through the OnRead event which gives you another place where you can alter the filter descriptors.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Posted on:31 Aug 2020 19:31
I'm going to weigh in here a little more on what I think a data + time filter needs.
1 - The ability to ignore time so you only match on the date.
2 - The ability to do a range on date with time, so you can pick specific hours, etc.
It seems unlikely that someone would want to filter on an exact date and time.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.