How to get get multiple columns data of datatables in one array?

How to get get multiple columns data of datatables in one array?

rahulsonawanerahulsonawane Posts: 6Questions: 2Answers: 0

for example for getting data from one column code is
var table = $('#example').DataTable();
var plainArray = table
.column( 0 )
.data()
.toArray();

But I want column 0 and column 3 in same array , how to get that ?

This discussion has been closed.