How to disable the header?

How to disable the header?

nachocabnachocab Posts: 1Questions: 1Answers: 0
edited July 2021 in Free community support

How can I hide or remove the header of a datatable using the Scroller extension?

I've tried this, but it didn't work:

drawCallback(settings) {
      $('#dataTables_scrollHead').remove(); 
}

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    That's close, but because it's a class, not an identifier, you need '.dataTables_scrollHead' - see here ,

    Colin

Sign In or Register to comment.