trouble with Safari 3.0.4 on Leopard

I am using dhtmlxgrid from html table. Everything works fine in IE, FF and Safari 2.0. However in 3.0.4 on Leopard, when I mouseover any cell, I get the javascript error “Incorrect cell type: undefined”. I have explicitly set type=“ed” for all columns, this does not appear to alleviate the situation. There are also no html comments anywhere in the code.

Problem confirmed and fixed, please use attached js file instead of original one

dhtmlxgrid_start.zip (1.65 KB)