Determine column clicked after cell reorder

Determine column clicked after cell reorder

cutigersfancutigersfan Posts: 4Questions: 2Answers: 0

I'm trying to figure out the name in the header above a cell that's clicked.

I've figured out when a cell is clicked by using:
'''$('#tblTasks tbody').on('mousedown', 'td', function (event) {'''

I can then access the row by using:
'''table.row($(this).parents('tr'))'''

How do I get access to the column header for that cell though? I'd like to take action if a certain column is being clicked on.

Thanks,

This discussion has been closed.