Formatting the generated html and viewing the result in chrome leads to an error in the EDT call:
this.frozenHeaderPartElement.firstChild.rows. This is because when the element is followed by a newline, a text element is returned from the firstChild call.
Some solutions to this are discussed in the stackoverflow question:
I recommend we use jQuery here to resolve the first child in a cross-browser way.