Missing ; before statement

Hi, I am stumped with error message stating:



missing ; before statement

new eXcell_ ro(cell)



from dhtmlXGrid.js (line 202). The error occurs right away on first row of data from XML response as follows:



<?xml version="1.0" encoding="iso-8859-1"?>

121st Century EloquenceWest Palm Beach<cell

>FL33401224 Hour Sign Language Services

Inc.EatonCO806153</cell

>J47 Alumni Association …



I was able to narrow down to the second cell of the first row as a trigger for error. I failed to see why the error occured.



My index.html file is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>





    deafCensus Web Grid Control Enhancement

    

    

    

        

    

    





    



        


            


        


    


    








Thank you very much for the support in advance.

I found a problem. The problem with [ mygrid.setColTypes(“ro, ro, ro, ro, ro”); ] is that you cannot have leading spaces in each col type! Why not? You should have function to trim all leading and trailing spaces before applying col type. Can you fix for readability sake? 

Currently all list uses simple split functionality which really doesn’t trim whitespaces.
JavaScript has not good built in triming functionality, there is no problem to add custom one, but while it may be not time critical in current case other list related operation processed in time critical sections, and such treeming can slowdown overall grid performance ( add triming in one place and use old style in other places doesn’t looks as good solution )