KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using Datatables with server_processing to get data, the main issue is i dont want to specify the name of the columns in html (<th width="25" id ="th1">id</th>) , I want to create columns dynamically when getting data by ajax. My code is : $('#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" } );
Tags (comma-separated)
Save Edits
Cancel