<button id="add-row" type="button" class="btn btn-primary">Add New Row</button>
<table class="table" id="tableWithDynamicRows">
<th style="width:25%">Column 1</th>
<th style="width:30%">Column 2</th>
<!-- Apply the plugin -->
var table = $('#tableWithDynamicRows');
"sDom": "<'table-responsive't><'row'<p i>>",
"sPaginationType": "bootstrap",
"sLengthMenu": "_MENU_ ",
"sInfo": "Showing <b>_START_ to _END_</b> of _TOTAL_ entries"
table.dataTable(settings);
$('#add-row').click(function() {
table.dataTable().fnAddData([