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

sending custom parameter for DataTables

$
0
0
i can use this below code for getting results in server_side file, but i cant send any parameters such az sql query,fields for search, i want to create modular file for use single file in all projects . how to sending custom parameter for DataTables like with this code?
$(document).ready(function() {
    $('#example').dataTable( {
        "bProcessing": true,
        "bServerSide": true,
        "sAjaxSource": "scripts/server_processing.php"
            /*
                "SQlQuery":"SELECT * FROM student",
                "Columns" :" id , name , code"
            */
    } );
} );

Viewing all articles
Browse latest Browse all 82012

Trending Articles



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