print button works only once.

print button works only once.

ab_ninjaab_ninja Posts: 3Questions: 2Answers: 0

The “Print” button works only on the first time. If you click it second time it does not display the print window again

can any one suggest me the solution...?

Thanks in advance

here is my code.

$(document).ready(function () {

        $('#Table_Result').DataTable({                
            "bLengthChange": true,
            "lengthMenu": [[10, 25, 50, 100, 200, -1], [10, 25, 50, 100, 200, "All"]],

            dom: 'lBfrtip',  //l for length options.
            "searching": false,  //disable search option.
            buttons: [
                  'copy', 'csv', 'excel',
                   {
                       extend: 'print',
                       exportOptions: {
                           columns: ':visible'
                       }
                   },
                'colvis'
            ]                                              
        });
    });

Answers

  • allanallan Posts: 63,552Questions: 1Answers: 10,476 Site admin

    It appears to be a problem in Chrome only. This thread and a couple of others have more discussion on the topic.

    Allan

This discussion has been closed.