Hi,
I’d like to implement datetimepicker. I’ve been searching this forum, but none of them that work.
|
1 2 3 4 5 6 7 8 9 10 11 |
$grid->setColProperty('SAMPAI', array("label"=>"Sampai","align"=>"center", "width"=>190,"formatter"=>"datetime", "formatoptions"=>array("reformatAfterEdit"=>true, "srcformat"=>"Y-m-d H:i:s", "newformat"=>"m/d/Y H:i"), "editoptions"=>array("dataInit"=> "js:function(elm){ jQuery(elm).datepicker({dateFormat:'mm/dd/yy'}); jQuery('.ui-datepicker').css({'font-size':'75%'}); }") )); |
if I change :
|
1 2 3 4 5 6 7 8 9 10 11 12 |
$grid->setColProperty('SAMPAI', array("label"=>"Sampai","align"=>"center", "width"=>190,"formatter"=>"datetime", "formatoptions"=>array("reformatAfterEdit"=>true, "srcformat"=>"Y-m-d H:i:s", "newformat"=>"m/d/Y H:i"), "editoptions"=>array("dataInit"=> "js:function(elm){ jQuery(elm).datetimepicker({dateFormat:'mm/dd/yy'}); jQuery('.ui-datetimepicker').css({'font-size':'75%'}); }") )); |
nothing popup shown….
if you have any examples using datetimepicker it would be nice… thanks…
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top