Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35373

columnDefs php generated

$
0
0

How should I create this javascript columndefs - data with php?

"columnDefs": [
{ "targets": [0,1], "searchable": false, "title": "column1"},
{ "targets": [2], "searchable": true, "title": "column2"}
]

the result should be

"columnDefs": data.ColumnDef     //data.ColumnDef is generated outside the datatabletable object

Viewing all articles
Browse latest Browse all 35373

Trending Articles