Adding row on top when sorting on columns are disabled
Adding row on top when sorting on columns are disabled
manoj_tailor
Posts: 2Questions: 0Answers: 0
I have a json array by which I want to add new rows on top of existing datatable. The sorting is disabled while initializing datatable.
My code is:
[code]
$("#depTable").dataTable().fnAddData(data,true);
[/code]
My code is:
[code]
$("#depTable").dataTable().fnAddData(data,true);
[/code]
This discussion has been closed.
Replies
Allan