columnDefs targets: "_all" is skipping a column
columnDefs targets: "_all" is skipping a column
psangelov
Posts: 6Questions: 2Answers: 0
Hello guys, I have a really strange case in my columnDefs I have set up targets: "_all", render: function (data, type, full, meta) { } to manipulate the display data I'm receiving. My problem is that this _all function is skipping a column if I do
function (data, type, full, meta) {
console.log(meta.col);
}
I'm getting
0
1
2
3
5
6
7
8
e.g. column number 4 is missing any reason why this could happen ?
This discussion has been closed.
Answers
Hi @psangelov
This example here shows it working, so it's something more specific with your column settings.
Could you paste your table initialisation code, or better still, modify my example to show the problem,
Cheers,
Colin