Initializing the datatable before filtering
Initializing the datatable before filtering
wns
Posts: 12Questions: 8Answers: 0
I connected my system with database consists of millions of data. However, the system keeps lagging once connecting. So, I plan to use the serverside processing to initialize the table to empty table so it no need to process all the data in a time (and lag). Not sure if it's a good way to deal the heavy data with the datatable. Here is my what I tried but it didnt work,
<script type="text/javascript">
$(document).ready(function(){
fill_datatable();
function fill_datatable(age = '', age2 ='' ,dataGender = '')
{
var dataTable = $('#table_data').DataTable({
processing: true,
serverSide: true,
" iTotalRecords": 57,
"iTotalDisplayRecords": 57,
},
This discussion has been closed.