New to databtables, my server-side function never gets called, anyone know why? Thanks. (when I call the now-empty function you see here directly I do get the expected Json results)
public class PagesController : Controller
{
public ActionResult AjaxMasterCatGrid(jQueryDataTableParamModel param)
{
// blah blah this does not matter it doesn't get hit, why?
}
}
$(document).ready(function () {
$('#tblCats').dataTable({
"bServerSide": true,
"sAjaxSource": "Pages/AjaxMasterCatGrid",
"bProcessing": true,
"aoColumns":
[
{
"sName": "Name",
"bSearchable": false,
"bSortable": true
},
{
"sName": "Code",
"bSearchable": false,
"bSortable": true
},
{
"sName": "IsPrecontract",
"bSearchable": false,
"bSortable": true
},
{
"sName": "IsActive",
"bSearchable": false,
"bSortable": true
}
]
});
});
(to be clear, it is "datatabling", I see the Search and so on, the js runs, I just get no data in the grid)