Hi!
I have 3 colums like this:
//DATE
$col = array();
$col["title"] = "FECHA"; // caption of column
$col["name"] = "t_fecha"; // grid column name, must be exactly same as returned column-name from sql (tablefield or field-alias)
$col["width"] = "12";
$col["editable"] = true;
$col["formatter"] = "date";
$col["formatoptions"] = array("srcformat"=>'Y-m-d',"newformat"=>'d/m/Y');
$cols[] = $col;
//START HOUR
$col = array();
$col["title"] = "HORA"; // caption of column
$col["name"] = "t_hora"; // grid column name, must be exactly same as returned column-name from sql (tablefield or field-alias)
$col["width"] = "8";
$col["editable"] = true;
$col["formatter"] = "datetime";
$col["formatoptions"] = array("srcformat"=>'H:i:s',"newformat"=>'H:i',"opts" => array("timeOnly" => true, "timeFormat"=>"HH:mm","controlType"=>"select","stepMinute"=>15));
$col["editoptions"] = array("defaultValue"=>'00:00');
$cols[] = $col;
//FINAL HOUR
$col = array();
$col["title"] = "HFIN"; // caption of column
$col["name"] = "t_horafin"; // grid column name, must be exactly same as returned column-name from sql (tablefield or field-alias)
$col["width"] = "8";
$col["editable"] = true;
$col["formatter"] = "datetime";
$col["formatoptions"] = array("srcformat"=>'H:i:s',"newformat"=>'H:i',"opts" => array("timeOnly" => true, "timeFormat"=>"HH:mm","controlType"=>"select","stepMinute"=>15));
$col["editoptions"] = array("defaultValue"=>'00:00');
$cols[] = $col;
Using version 1.5.2 of jqgrid_dist.php, it works fine. But, if I use version 2.1.2 when clic on HOUR START in edit form, and try to select an hour, it appears calendar to select a date.
Thanks