Hi All,
I’m using jqSuite php 5.2 and I’ve found bug if we have two edit field. The bug will happen if user has pick a date in dropdown date on the second field date. It will going into first field ..
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27  | 
						$grid->setColProperty('TGL', array("label"=>"Tgl","formatter" => "date", "width"=>85, "formatoptions" => array("srcformat" => "Y-m-d H:i:s", "newformat" => "Y-m-d"), "editoptions" => array("defaultValue" => "js:function(elm){return tgl===null?'':tgl; }", "dataInit" => "js:function(elm){ jQuery(elm).datepicker({dateFormat:'yy-m-d'}); jQuery('.ui-datepicker').css({'zIndex':'1200','font-size':'75%'});}") )); $grid->setColProperty('JTH_TEMPO', array("label"=>"Jth Tgl","formatter" => "date", "width"=>85, "formatoptions" => array("srcformat" => "Y-m-d H:i:s", "newformat" => "Y-m-d"), "editoptions" => array("defaultValue" => "js:function(elm){return tgl===null?'':tgl; }", "dataInit" => "js:function(elm){ jQuery(elm).datepicker({dateFormat:'yy-m-d'}); jQuery('.ui-datepicker').css({'zIndex':'1201','font-size':'75%'});}") )); $grid->setColProperty("SUPPLIERID", array("label"=>"SUPPLIERID", "hidden"=>true )); $grid->setColProperty("SUPPLIER", array("label"=>"Supplier", "searchoptions"=>array("sopt"=>array('cn', 'nc')))); $grid->setAutocomplete("SUPPLIER","#SUPPLIERID"," SELECT pr.SUPPLIER, pr.SUPPLIER, pr.supplierid FROM supplier pr WHERE upper(pr.SUPPLIER) like '%' || upper( ? ) || '%' ORDER BY pr.SUPPLIER ",array("itemLength"=>50), true, true);  | 
					
If user pick date on “JTH_TEMPO” field, it will going into first field then.
It’s annoying . thank you.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top