DOM two options

DOM two options

extjacextjac Posts: 13Questions: 6Answers: 0
edited October 2017 in Free community support

Hello,
I would like to have to two options for the DOM but only works one at the time...
Any suggestions?

dom: 'T<"clear">lfrtip',   //export to excel, pdf, etc
dom: 'Bfrtip', //show/hide columns
buttons: [
  'columnsToggle'
]    , 

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947

    What you have above is like having this code:

    a = 1
    a = 2
    

    a can't have two values but will end up with the last value of 2.

    What are you trying to achieve with having two DOM settings?

    Can you combine into one DOM setting?

    Kevin

This discussion has been closed.