can't custom datatable(button,dom,etc)
can't custom datatable(button,dom,etc)
fitra36
Posts: 1Questions: 1Answers: 0
when add button in my datatable it has error "DataTables warning: table id=datatable - Cannot reinitialise DataTable. "
code :
$('#datatable').DataTable(
{
dom: 'Bfrtip',
buttons: [
'copyFlash',
'csvFlash',
'excelFlash',
'pdfFlash'
]
}
).ajax.reload();
This discussion has been closed.
Answers
Hi @fitra36 ,
This tech note here should help, it's discussing the issue,
Cheers,
Colin