ws.Eval($"$(arguments[0]).dataTable({
paging: false,
ordering: true,
info: true,
scrollY: '700px',
destroy: true,
dom: 'Bfrtip',
buttons: [
{"extend": "pdfHtml5", "orientation": "portrait", "pageSize": "A4", "title": arguments[1]},
{"extend": "excelHtml5", "title": arguments[1]},
{"extend": "copy", "title": arguments[1]},
{"extend": "csv", "title": arguments[1]}
],
createdRow: function (row, data, index) {
if (data[0] === "L00001") {
$('td', row).css('background-color', 'Red');
}
},
})"$, Array(reps.Id,repfilename))