FixedColumn Stable Bug
FixedColumn Stable Bug
Pummra
Posts: 20Questions: 0Answers: 0
There is a bug currently in the stable version of FixedColumn. If using jQuery UI the script isn't getting all of the child elements for the header and therefore is unable to copy across the jQuery UI elements.
I have compared the code with the latest version of FixedColumn and have found a fix based on that code.
Change line 843 of FixedColumns from:
[code]nClone = this.s.dt.aoColumns[iColumn].nTh;[/code]
to
[code]nClone = $(this.s.dt.aoColumns[iColumn].nTh).clone(true)[0];[/code]
With that in place everything works as expected as far as I can tell.
I have compared the code with the latest version of FixedColumn and have found a fix based on that code.
Change line 843 of FixedColumns from:
[code]nClone = this.s.dt.aoColumns[iColumn].nTh;[/code]
to
[code]nClone = $(this.s.dt.aoColumns[iColumn].nTh).clone(true)[0];[/code]
With that in place everything works as expected as far as I can tell.
This discussion has been closed.
Replies
Allan
It doesn't happen tin FixedColumns nightly, but when I was testing with nightly I was getting some other issues so rolled back to stable.
Does the JSBIN you have on this site have FixedColumns etc. ready built in?
[/code]
and
[code]
[/code]
Are the two files you want.
If a bug is present in the release, but not the nightly, the release version will not be fixed. But any issues in the nightly, I would like to know about so I can fix them before it gets released.
Allan