reinitialize datatable on button click

Solutions on MaxInterview for reinitialize datatable on button click by the best coders in the world

showing results for - "reinitialize datatable on button click"
Virgile
19 May 2018
1$(function() {
2    $('#proces_input').on('click', function() {
3        alert('Im in')
4        var table = $('#dt_110x_complex').DataTable({
5            paging : true,
6            destroy : true,    <-------Added this 
7            scrollY: 300,
8            ajax: "{{ url_for('complex_data') }}"
9        });
10    });
11});
12