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

DataTables - push - from partial view

$
0
0

Can someone please assist me? From a partial view (modal) I am trying to call a function that will action the table.draw() method. The partial view successfully calls the find() function but the table.draw is not called.

$.fn.dataTable.ext.search.push(
    function (settings, data, dataIndex) {
        alert("table.draw");
        return true;
    }
);

function find() {
    alert("table redraw");
    table.draw();
}

Viewing all articles
Browse latest Browse all 82229

Trending Articles



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