Я использую Datatables с server_processing для получения данных, основная проблема в том, что я не хочу указывать название колонок в html (
, я хочу создавать колонки динамически при получении данных через ajax. id )
Мой код :
$('#table').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "server_processing.php?db="+pid+"&table="+id+"", //pid is the name of database and id the name of the table
"bJQueryUI": true,
"sPaginationType": "full_numbers"
} );