Initialize Grid from HTML table

I am using ruby on rails and I am initializing the grid from a html table.

The gird gets initialized but i get the following error



eXcell_ is not defined

[Break on this error] var c = this.getRowById(row_id);var cell=(c._childIndexes?c.childNodes[c._child…

dhtmlXGrid.js (line 202)



Please advise.





Thank you



Such error may occur in next two cases

a) You are executing command against not existing cell in grid
b) You specified empty value as column type

In case of initialization from HTML each column set as “ed” by default, but it can be redefined by using type attribute at TD tags of first row

<table…
   


       Column 1
       Column 2
   
    …

Please be sure that in your case type attribute is not set to empty value.