Table Column Titels JSON

Table Column Titels JSON

alxtopalxtop Posts: 1Questions: 1Answers: 0

I'm using server side datatables.
Is there posibility to use column object from ajax response for datatable columns( and options) ?
Example JSON:
{
"recordsTotal": 95,
"recordsFiltred": 95,
"data": [],
"columns" : [
{"title":"column1", ...},
{"title":"column2",...}
]
}

This discussion has been closed.