Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 544.9k

glyphicon glyphicon-pencil

May 29 2021 6:54 AM
Hi
In below code i want View , Delete Icons. Edit -> glyphicon glyphicon-pencil is also not getting displayed.
$(document).ready(function () {
$("#tblLocation").dataTable({
ajax: {
type: "get",
url: "/Location/List",
dataType: "json",
dataSrc: ""
},
paging: true,
sort: true,
pageLength: 5,
searching: true,
columns: [
{ 'data': 'Id' },
{ 'data': 'Description' },
{ 'data': 'IsActive' },
{
"defaultContent": '<input type="button" id="btnEdit" class="btn btn-primary btn-xs" value="Edit" <span class="glyphicon glyphicon-pencil"></span>/>'
}
]
});
});
Thanks

Answers (3)