Incorrect cell type: ro

I’m trying to make all colums in my grid read-only with:


But I’m getting:

Error type: Configuration Description: Incorrect cell type: ro
muliple times before my page loads. I’m surley missing some include or so but cant figure it out. Here is my code


Grid test
<link rel="stylesheet" type="text/css" href="codebase/dhtmlxlayout.css">
<script src="codebase/dhtmlxcommon.js"></script>	
<script src="codebase/dhtmlxcontainer.js"></script>	
<script src="codebase/dhtmlxlayout.js"></script>	

<link rel="STYLESHEET" type="text/css" href="codebase/dhtmlxgrid.css">
<script src="codebase/dhtmlxgrid.js"></script>
<script src="codebase/dhtmlxgridcell.js"></script>

<link rel="stylesheet" type="text/css" href="codebase/skins/dhtmlxform_dhx_skyblue.css"> 	
<script src="codebase/dhtmlxform.js"></script>	

Please, try to remove the spaces in the attributes list.

mygrid.setColTypes( "ro, ro, ro, ro, ro, ro, ro, ro, ro"); //incorrect mygrid.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro,ro"); //correct

Thanks, that was it.
I was using that just so it could be align one on top another in my editor so it would be easier to follow code.