Hi,
Please advise me as to how i can convert this syntax into the datatable options for responsiveness. $(document).ready(function() {
$('#example').DataTable( {
responsive: {
details: {
display: $.fn.dataTable.Responsive.display.modal( {
header: function ( row ) {
var data = row.data();
return 'Details for '+data[0]+' '+data[1];
}
} ),
renderer: $.fn.dataTable.Responsive.renderer.tableAll( {
tableClass: 'table'
} )
}
}
} );
} );
I'm trying to display the extra rows via a modal. The default option of setting responsive => true works fine.
Thanks