iDisplayStart not passed when using ajax with custom vars

iDisplayStart not passed when using ajax with custom vars

kevmorkevmor Posts: 4Questions: 3Answers: 0

As soon as I change my DataTable to pass a custom var, ie:

var oTable = $('#example').dataTable({ 
    "iDisplayLength": 15,
    "aLengthMenu": [10, 15, 25, 50, 100],
    "autoWidth": false,
    "bProcessing": true,
    "bServerSide": true,
    "deferRender": true,
    "sPaginationType": "full_numbers",
    "ajax": {
        "url": "dataTables.php",
        "data": function(d) {
            d.log_type = $('#log_type').html();
        }
    }, ...

I no longer have working pagination because it seems the iDisplayStart is no longer passed...?

This discussion has been closed.