Hi,
I have this code in which if I do cellrenderer and return span class with image, buttonclick is not working while return text button click is working fine.
Can you please provide me some solution for it?
function loadGridData(dataAdapter) {
$(“#TestGrid”).jqxGrid({
width: 800,
autoheight: true,
filterable: true,
showfilterrow: true,
columnsresize: true,
groupable: true,
sortable: true,
source: dataAdapter,
columns: [
{
text: ‘Edit’, columntype: ‘button’,
cellsrenderer: function () {
return “Edit” //This is working
//return ‘<span title=”Delete Environment”, class=”fa fa-pencil”></span>’; // This is not working
}, buttonclick: function (row) {
editrow = row;
}
}
],
enabletooltips: true,
});
}