Question: how to get column name in jquery datatable?
Answer: var table = $('#example'). DataTable({ columns: [ { name: 'first-name' }, { name: 'last-name' }, { name: 'position' }, { name: 'location' }, { name: 'salary' } ] });