Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82269

Select Event

$
0
0

Debugger code (debug.datatables.net):

I would like to add a row to my table. I used this:

                shippingTable.on('draw.dt', function (e) {
                    var newRow = '<tr><td class="dtr-control" tabindex="0"></td><td class="select-checkbox"></td><td>Ritiro al magazzino di Lamone Cleanlife</td><td></td><td></td></tr>';
                    $('#shippingaddr tbody').append(newRow);
                });

Now, for the added line, the function does not work "select row".

Description of problem:

select: {
                        style:  'single',
                        info:   false
                    },

does not work for the newly added row.

What can I do?


Viewing all articles
Browse latest Browse all 82269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>