I found the one I was looking for. This was in the Worksheet class, not in the page setup class, as I thought before. For those looking to the future, this is the method you need:
PHPExcel_Worksheet setPrintGridlines( [boolean $pValue = false])
There are two very similar functions: setPrintGridlines and setShowGridlines. I'm not quite sure about that. Can anyone enlighten me?
source share