Base solution for your next web application
Open Closed

Datatables Select toggleable: false not working #8023


User avatar
0
oaalvarado created

Hi,

I'm using ASP.NET Zero Core MVC JQuery version is 7.0.0. I'm using the Select function on the datatables so when a user clicks on a row the row is highlighted and some fields are populated. I'm having the issue that if the user clicks the same row, the row is deselected (not highlighted). I want to disable the select toggleable behavior. In datatables.net it says that it can be disabled by using this in the datatable definition:

table = $('#example').DataTable( { select: { toggleable: false } } );

I added the option to the datatable definition, but the select toggleable still persists. How can I disable this?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Please upgrade datatables.net-select to 1.3.1

    yarn add [email protected]
    
  • User Avatar
    0
    oaalvarado created

    Thanks maliming, that fixed the problem.