Is it possible to generate a DOM string variable and apply it to the table at runtime?
Is it possible to generate a DOM string variable and apply it to the table at runtime?

in DataTables
Example:
var domStr ="<'row middleAlign'<'col-sm-6'B><'col-sm-6'f>>" + "<'row'<'col-sm-12'tr>>" + "'<'row middleAlign'<'col-sm-6'i><'col-sm-6'p>>";
$('#table').DataTable({
dom:domStr
});
This discussion has been closed.
Answers
Yes - that will work: http://live.datatables.net/heletege/1/edit
Allan