Is it possible to dynamically add columns to empty table, no columns in thead, in 1.10 version?
You can do this with jQuery:
var table = $('#myTable');
//Note! Assumes that you have a single row
// in your thead.
function addColumn( table, title
table.find('thead tr').append('<th>' + title + '</th>');
Thank you rhino for the answer, but I was interested if it's possible using Datatable 1.10 API or datatables options?
AFAIK, DataTables has no built-in support for adding columns
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.