<p>I think you’re right, it’s not the new jqGrid, but a new version of MySQL (MariaDB actually) that is not working as before. I ended up creating two columns for each one that was of type date that I needed to accept nothing being entered and also displaying an empty field if ‘0000-00-00’ was in the database, but one hidden and editable and the other visible and not editable.</p>
$grid->SelectCommand = 'SELECT
...
(IF(invoices.srlinvoicedate!=\'0000-00-00\', invoices.srlinvoicedate, \'\')) srlinvoicedatedisplay,
(invoices.srlinvoicedate) srlinvoicedate,
...
FROM invoices'
$grid->setColProperty('srlinvoicedatedisplay', array("label"=>"Invoice<br>date", "width"=>"80", "fixed"=>true, "align"=>"center", "search"=>false, "editable"=>false));
$grid->setColProperty('srlinvoicedate', array("label"=>"Invoice<br>date", "hidden"=>true, "width"=>"80", "fixed"=>true, "align"=>"center", "formoptions"=>array("rowpos"=>4, "colpos"=>3, "label"=>"SRL - Invoice date"), "search"=>false, "editrules"=>array("edithidden"=>true)));
<p> </p>