0
我想要得到的目標婁在一個單獨的功能使用:如何獲得jQuery數據表的「columnDefs」屬性?
{
"targets": [ 4,5,6,7,10,11,14,15 ],
"visible": false,
"searchable": false
},
UPDATE
答案:
var table = $('#table').DataTable();
table.init().columnDefs[0].targets;
Got it here. 謝謝你們!