Skip to content

I just want to be able to adjust hours and minutes.

To display and edit only time.

$dg -> set_col_datetime("contractDateTime", "H:i", "H:i", "H:i");

This will display the datetime picker, but only the time will be displayed. Lastly, use CSS to hide the datepicker.

<style>
.xdsoft_datepicker.active{
  display:none;
}
</style>

Reference: http://phpgrid.com/example/complete-date-format-demo/

Feedback and Knowledge Base