how to append th and td code example
Example 1: push tr in tbody using jquery
$("#tableId > tbody").append(data);
Example 2: jquery append table row
$('#someTableID tr:last').after('<tr><td>Some data here</td></tr>');
$("#tableId > tbody").append(data);
$('#someTableID tr:last').after('<tr><td>Some data here</td></tr>');