datatable server side select all code example

Example 1: server side datatable target all

There are four options for target :

1. 0 or a positive integer - column index counting from the left
2. A negative integer - column index counting from the right
3. A string - class name will be matched on the TH for the column(without a 
leading .)
4. The string "_all" - all columns (i.e. assign a default)

Example 2: datatables server side

$(document).ready(function() {
    $('#example').DataTable( {
        "processing": true,
        "serverSide": true,
        "ajax": "../server_side/scripts/server_processing.php"
    } );
} );