Hi Abu,
I use "daterange" for search. This is my code:
$col["isnull"] = true;
$col["width"] = "120";
$col["formatter"] = "date";
$col["stype"] = "daterange";
$col["formatoptions"] = array("srcformat"=>'Y-m-d',"newformat"=>'d.m.Y', "opts" => array("showOn"=>"none"));
$col["align"] = "center";
$col["editrules"] = array("custom"=>true,"custom_func"=>"function(val,label){return dataValidate(val,label);}");
Work perfectly in autofilter (the result is correct), but same filter in advance search (same in simple search) does not filter at all.
Please help! Thanks!
Adrian
1 Answers
I've updated code here: 2 required changes are highlighted
http://www.phpgrid.org/demo/demos/integrations/daterangepicker.phps#L.155-158,173-175
Your Answer