After implementing the latest code files I'm not able to show Datepicker in the filter. Prior to that datepicker was working good. Right now, I can see datepicker in the Edit/Add popup but not in filer. Can you please suggest what could be the issue.
——————————-=Code goes like this——————–
$col = array();
$col["title"] = "Date";
$col["name"] = "event_date";
$col["formatter"] = "date";
$col["editrules"] = array("required"=>true,"date"=>true);
$col["editable"] = true; // this column is editable
$cols[] = $col;
———————————————————————–
Files Replaced:
——————
lib/inc/autocomplete.php
lib/inc/export-selected.php
lib/inc/jqgrid_dist.php
lib/inc/persist-settings.php
Regards
Hello,
This is removed in latest build, bcoz it makes difficult to do a contains search.
If you want to do exact search, you can set:
$col["searchoptions"]["sopt"] = array("eq","gt","ge","lt","le","ne");
It will enable datepicker in autofilter.
Check your email for update.
This code not working.
I have added the code which you mentioned above, but unfortunately it will not work.
Thanks
Harpeet
Hello,
Kindly override jqgrid_dist.php that was emailed you.
After that, above code will work.
Here is working demo code link, override in demos/integration/datepicker.php and check in demo browser.
http://hastebin.com/matucumesa.php