FixedColumns - Table as content for header

FixedColumns - Table as content for header

tnobregatnobrega Posts: 3Questions: 0Answers: 0

When you place a table inside a header cell (th), the extension breaks. Debuggin I realized this happens because of the selector being used at the function: _fnEqualiseHeights. So I think the following:

...
rootOriginal = original.getElementsByTagName(nodeName)[0],
rootClone    = clone.getElementsByTagName(nodeName)[0],
...

should be replace with this:

...
rootOriginal = $(original).find("> "+nodeName).get(0),
rootClone    = $(clone).find("> "+nodeName).get(0),
...

this way it wont lookup for nested tables inside Datatables.

This discussion has been closed.