The below example demonstrates custom filter UI for datetime and time fields.
For Shipped Date ( with date format ), we just have to define column.format and grid takes care of the rest.
For Order DateTime column ( with datetime format ), we use HTML5 datetime control.
For Order Time column, we use HTML5 time control.
For both the Order DateTime and Order Time columns:
mm/dd/yyyy format to yyyy-mm-dd format and append random time values in dataModel.getData callback for this demo purpose. Though remote script may also supply this formatting.
column.deFormat as counterpart to column format function in Order Time column.column.filter.init callback to initialize HTML5 datetime and HTML5 time controls.