reinitialize datatable on button click

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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