Marta
January 19, 2011, 3:47pm
#1
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 ‘’’.
thanks!
Olga
January 20, 2011, 9:50am
#2
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.
Marta
January 23, 2011, 11:08am
#3
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
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?