INDEX_SIZE_ERR: Dom Extension 1

I cant get my DHTMLXGrid to work on Safari 3.1.2. The Grid doesnt load and I get a javascript error in dhtmlXGrid.js with the following line of code:

var hdrRow = this.hdr.insertRow(_isKHTML?2:1);



This DOM error is due to an index out of bounds (or negative). Any ideas on what is causing the issue?



Thanks

Which version of dhtmlxgrid you are using?

In case of 1.5 or earlier version, please try to add next lines before grid initialization
    _isFF=true;
    _isKHTML=false;