Sorting by table header title instead of column index

Sorting by table header title instead of column index

Skarv1Skarv1 Posts: 12Questions: 1Answers: 0

When initializing the datatable, I would like to be able to use the table headers titles instead of having to identify the index of these headers. Is this possible, and if not - has anyone made a efficient function for this? The purpose would be a more understandable configuration for other admins - it makes more sense to specify sorting by words instead of a index system. Check out the example below to get a better idea of what I am trying to do.

http://live.datatables.net/rilokigu/3/edit

This discussion has been closed.