ColVis integration with FixedColumns

ColVis integration with FixedColumns

mauroriveramaurorivera Posts: 1Questions: 1Answers: 0
edited May 2015 in Free community support

Hi Allan.

I was trying to follow the integration example between the FixedColumns and ColVis extensions. However, I'm seeing an error on the demo page that causes the headers stop syncing with the data on the table.

Page: http://datatables.net/release-datatables/extensions/FixedColumns/examples/colvis.html

Steps:

  1. Click on "show/hide columns" button
  2. Uncheck any column to hide.
  3. Check again the column (to show)
  4. At that moment, an error message is shown in the console saying: "Uncaught TypeError: Cannot read property 'style' of undefined"

However, on the live.datatables.net web site, if instead of using version 1.10.7 of datatables I revert to 1.10.6, the show/hide behavior works as expected.
http://live.datatables.net/keyupogi/1/

it may be a regression error?

Thanks so much for the great component!

Answers

  • mkdmkd Posts: 7Questions: 3Answers: 0

    Hello Allan,

    this issue still exists and there are many people interested in a solution to this.

    Could you please look into this?

    Thanks,

  • mkdmkd Posts: 7Questions: 3Answers: 0

    I found that ColVis works with me if none of scrollX and scrollY are initiated.

  • OjanseOjanse Posts: 1Questions: 0Answers: 0
    edited July 2015

    Has a solution been found yet? I'm constantly running into this problem.

    Edit: Turns out it is fixed in the latest dev version.

This discussion has been closed.