If you set field readonly by the following setting, it does not show datepicker.
$col["editrules"] = array("readonly"=>true);
If you have used any other way to make readonly, you can goto jqgrid_dist.php and search
and apply some IF condition for readonly field.
can the datpicker popup be:
1)deactivated on clicking the field
2)activated on clicking icon
Edit jqgrid_dist.php in lib/inc and remove .click() binding.
Search and remove following.
i tried but i need the opposite.
I need to HIDE calendar when clicking FIELD.
KEEP calendar when clicking ICON.
Revert last advice, add following:
$col["formatoptions"] = array("srcformat"=>'Y-m-d',"newformat"=>'Y-m-d', "opts" => array("changeYear" => false,"showOn"=>"none"));
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?