Error on Safari and Chrome

While loading a grid (it loads fine in FF) I get an error
DOM exception 12
at the following line: (368 in the main dhtmlx.js, I have pro version)

document.styleSheets[0].insertRule(prefs[i]+(" {"+this.ssModifier[i]+" };"), document.styleSheets[0].cssRules.length);}};this.setColumnColor=function(clr){this.columnColor=clr.split(this.delim)

Any clue? It’s supposed to load a grid. I tried placing an alert(clr) in function(clr) and I get ‘’’.

Unfortunately issue can’t be reconstructed locally.

If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.

after loads of debugging I found what was causing the error:

biggrid.setStyle("","padding:0px 5px 0px 5px;overflow:none;","","");

I tried putting it before or after init(), after data was loaded … changing syntax but it doesn’t improve.
Now I commented the incriminated line, but my grid is not as nice :cry:

Which version of grid you are using?

By any chance,is the first stylesheet on the page empty, broken or was loaded from different domain?