Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81920

Get column name by index

$
0
0

Is there a way to get a column name (i.e., the name defined using columns.name option), which is more direct than the following one?

var exampleIndex = 3;
var columnName = table.settings().init().columns[exampleIndex].name;

Viewing all articles
Browse latest Browse all 81920

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>