Thank you for your reply. Maybe I didn't put the question clearly. I made a picture to illustrate what I would like to achieve.
The filter that I want to customize the on a datetime type column. I'd like to filter it by specific date/time or by days and hours difference compared with current date. So I make a switcher on the filter UI to select filter type. On the left of the picture, it is filtered by date, it is default behavior of filter on a datetime column. On the right, it is UI filtered by days and hours numbers.
My questions are:
(1) This UI seems too complicated, is it possible to be implemented?
(2) Currently the data is returned from the server via web api and odata. Because the column I'd like to filter is a datetime type, so it should accept only parameters of datetime type one the server side. When I'm using the days and hours number to filter, how should I convert the day/hour number to a specific datetime type value?
Hope I explain it clearly this time. Thanks for your help.