FixedColumn Stable Bug

FixedColumn Stable Bug

PummraPummra Posts: 20Questions: 0Answers: 0
edited March 2013 in Bug reports
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.

Replies

  • allanallan Posts: 56,819Questions: 1Answers: 9,029 Site admin
    Can you link to a test case please? Does this happen in the FixedColumns nightly?

    Allan
  • PummraPummra Posts: 20Questions: 0Answers: 0
    Will do.

    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?
  • allanallan Posts: 56,819Questions: 1Answers: 9,029 Site admin
    [code]

    [/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
This discussion has been closed.