As title, I'm trying to work out if clear takes out all i.e. including column headers or something else.
clear() is nuclear, it removes everything, whereas rows().remove() can selectively remove rows. If you're removing everything, they're the pretty much the same, they only remove the rows, nothing else.
destroy() can remove the table too if you want everything gone,
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.