Khushboo Kumari

Khushboo Kumari

  • NA
  • 89
  • 1.5k

Unable to use jguery data table for adding view column

Dec 21 2017 8:19 AM
thsese lines of code in data table is not working .i am using mvc5 plese help me any one
 
{
"targets": -1, "data": null, "orderable": false, "autoWidth": false, sClass: "tdboarder otherwidth", "width": "10%",
"render": function (data, type, row, meta) {
var a = "<a href=\"Attendence?emp_id=" + data.emp_id + "\"class=\"mr-1\" data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"View\"><i class=\"fa fa-search\" aria-hidden=\"true\"></i></a>";
return a;
}
},

Answers (2)