child rows / using "columnDefs" AND "columns"
child rows / using "columnDefs" AND "columns"

How does the "columns" in javascript look (esp. for the dtr-column') when using a subset of columns from the data? Neither found documentation nor example for that.
columnDefs: [
{
className: 'dtr-control',
orderable: false,
searchable: false,
targets: 0
},
columns : [
This discussion has been closed.
Answers
You would use either
columns
, orcolumnDefs
, not both. If you need to define all columns (perhaps because you're using ajax objects), then put all the config intocolumns
,Colin