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

Processing Events

$
0
0

I am using the following to receive the processing event, without any success. I have tried both with and without .dataTable() ending but the result is the same - It is only called with the parameter processing == false.
I have also tried to set the DataTable option.processing to true without success. I wish to display a custom animation, any help.

            $('#myTable').on('processing.dt', function (e, settings, processing) {
                if (processing) {
                    console.log('it is loadding');     // **I do not get this**
                } else {
                    console.log('it is not loadding'); // **I get this**
                }
            });


            $('#myTable').on('processing.dt', function (e, settings, processing) {
                if (processing) {
                    console.log('it is loadding');     // **I do not get this**
                } else {
                    console.log('it is not loadding'); // **I get this**
                }
            }).dataTable();

Viewing all articles
Browse latest Browse all 82439

Trending Articles



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