I have checked several questions already about this topic here in stackoverflow, but they are all using the old dataTable. I am using DataTable. I populated my DataTable by
The following worked really well for me. I needed to redraw the datatable with a different subset of the data based on a parameter.
table.ajax.url('NewDataUrl?parameter=' + param).load();
If your data is static, then use this:
table.ajax.url('NewDataUrl').load();