Load the data to table, the old rows will be removed: $table.bootstrapTable('load', data);
$table.bootstrapTable('load', data);