Why is data[0] showing in control column?

Why is data[0] showing in control column?

asleasle Posts: 23Questions: 6Answers: 0

Responsive table and server-side data. In my server-side script I have table column "ID" that I use other places. But this id - data[0] shows up when my table shows the responsive trigger. How do I avoid that?

Here is a snippet of my code:

 responsive: {
            details: {
                type: 'column'
        processing: true,
        serverSide: true,
        ajax: 'ajax/server_processing.php',
       columnDefs: [
        {   className: "senter", "targets": [ 8,9,10 ] }, 
            className: 'control',
            orderable: false,
            targets:   0,
            targets: [ 11 ],
            visible: false,
            searchable: true
        order: [ 7, 'desc' ],  

See the column ID (data[0]) shows behind the trigger:


  • colincolin Posts: 4,624Questions: 0Answers: 814

    Hi @asle ,

    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.



Sign In or Register to comment.