           $(document).on("change", '#checkboxControls input[type="checkbox"]', function() {
            //$('#checkboxControls input[type="checkbox"]').onchange(function(){
                tables.ajax.reload();
            });

            // wanted table
            // Handle click on "Select all" control
            $('#wanted-select-all').on('click', function(){
                // Get all rows with search applied
                var rows = tables.rows({ 'search': 'applied' }).nodes();
               // 