Get column name given index and vice versa

Get column name given index and vice versa

sphenglesphengle Posts: 1Questions: 0Answers: 0

(Latest API)

I've been trying to get the index as follows...

$('#theTable').DataTable().column('TargetDate:name').index()

but returns an empty array.

I've no idea how to get the column name given the index.

This discussion has been closed.