The below example demonstrates filtering with
For Shipped Date ( with date format ), we just have to define
column.format and grid takes care of the rest.
For Order Date ( with datetime format ), we have used HTML5 datetime control because of lack of support of time formatting in jQueryUI.
For Order Time, we have used HTML5 time control.
For both the Order DateTime and Order Time columns:
yy-mm-ddThh:mmformat in the data. So we convert the dates in default
yy-mm-ddformat and append random time values in
dataModel.getDatacallback for this demo purpose. Though remote script is the usual place to supply this formatting.
column.formatfunction to supplement jQueryUI date formatting with time formatting. A third party library with time formatting support may also be used.
column.deFormatas counterpart to column format function.
column.filter.initcallback to initialize HTML5 datetime and HTML5 time controls.