fnserverparams aodata push custom filter

Solutions on MaxInterview for fnserverparams aodata push custom filter by the best coders in the world

showing results for - "fnserverparams aodata push custom filter"
Augustine
27 Mar 2016
1$(document).ready(function() {
2  $('#example').dataTable({
3    "bProcessing": true,
4    "bServerSide": true,
5    "sAjaxSource": "/IndexXhr",
6    "fnServerParams": function (aoData) {
7        var includeUsuallyIgnored = $("#include-checkbox").is(":checked");
8        aoData.push({name: "includeUsuallyIgnored", value: includeUsuallyIgnored});
9    }
10  });
11});