mygrid.setNumberFormat not work when some cells are null

Hi

I use the function setNumberFormat(000.00%, id) and only and only when the id is the last column and one of the cell is null the setNumberFormat not work at all.

Please help

Thanks,