colVis style being spoiled by colReorder

colVis style being spoiled by colReorder

vismarkvismark Posts: 79Questions: 5Answers: 0
edited March 2020 in Free community support

Somehow, once a column has been reordered, the column visibility menù style appears spoiled (like visible column voices are no more highlighted, menù paddings goes away, ...?). Seems like a plugin conflict when reaorderng colVis menu voices.

I've created this fiddle to show the problem.

Replies

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    Thanks for reporting. This was raised a couple of months ago, see here, but unfortunately the issue remains. I've added this thread to the issue and we'll report back here when there's an update.

    Apologies for the inconvenience.

    Cheers,

    Colin

  • vismarkvismark Posts: 79Questions: 5Answers: 0

    Thanks @colin . I found a workaround and created this fiddle. It basically recreate the colvis button on 'column-reorder' event. It seems to work good on first column reordering, but from the second on I get "Uncaught TypeError: Cannot read property 'node' of undefined" in the console. Am I missing something?

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    I suspect that error is occurring when ColReorder is trying to update the ordering in the ColVis button. We would need to address that when we look into the issue.

    Colin

  • allanallan Posts: 63,210Questions: 1Answers: 10,415 Site admin

    See also this thread which should address this issue.

    Allan

This discussion has been closed.