The click event does not work in DataTable

The click event does not work in DataTable

chimditruvnchimditruvn Posts: 1Questions: 1Answers: 0
edited January 2020 in Free community support

Hello, I have a problem with buttons: ['colvis'].

Html:

# CodeOr
1
1

Js code:

$(document).ready(function () { $('#testdb').DataTable({ (```) buttons: [ 'colvis' ],(```) stateSave: true, }); });

However, the checkbox click events do not work when there are buttons: ['colvis']. Please give me the solution. Thank you!

Answers

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

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.