* Note that currently it is not supported in the Lite and Basic edition.
Set the edit type to be time and enable the time-picker
1
| $dg -> set_col_time("time_from"); |
It is recommended to also use the formatter function so that the time is set in the right value during the edit.
1 2
| $pg->set_col_property("time_from",
array("formatter"=>"date", "formatoptions"=>array("srcformat"=>"h:i A","newformat"=>"h:i A"))) |
Related Posts
set_col_readonly()Parameter(s): $col_names: Comma delimited one or more column names Description: Set one more more columns as…
set_col_headerTooltip()Parameter(s): $col_name: Column name. $tooltip: Tooltip text. Description: Set column tooltip Example: [cc lang="php"] $dg…
set_jq_datatype()Parameter(s): $datatype: Internal data source type. It can be either "json" or "xml". The default is…