Introducing serverSide processing breaks (hides) columnToggle buttons

Introducing serverSide processing breaks (hides) columnToggle buttons

csaunders72csaunders72 Posts: 1Questions: 1Answers: 0

Hi,

Working on a complex list UI in which I have used columnToggle buttons to show/hide groups of columns.

I then introduced serverSide processing - that works fine but the columnToggle buttons no longer appear.

No errors or warnings reported in the developer console.

I can't find any notes in documentation about an interaction between these two options.

A similar issue was reported 4 years ago (https://datatables.net/forums/discussion/21947) but no response given.

Using columnToggle buttons and serverSide processing feels like a reasonable use of DataTables ... so maybe I'm doing something wrong.

What information from my setup is required to help diagnose the issue?

Thanks in advance,

Answers

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

    Hi @csaunders72 ,

    There's no reason why the button shouldn't appear - serverSide and Buttons are entirely independent of each other, as shown in this simplistic example here.

    If you're having a problem, it'll be a bug/misconfiguration somewhere - would you be able to change my live example above to demonstrate the problem, or if not, could you link to your page?

    Cheers,

    Colin

This discussion has been closed.