Hi,
I am using below code to create a grid. I wonder is it possible to put “icon-delete.png” in Comd column, instead of “Del” ?
$(“#jqxfilselgrid”).jqxGrid({
theme: ‘fresh’,
width:660,
source: dataAdapter,
columnsresize : true,
selectionmode: ‘singlerow’,
autoheight: true,
columns: [
{
text: ‘Comd’,
columntype: ‘button’,
datafield: ‘com’,
cellsrenderer: function ()
{
return “Del”},
buttonclick: function(test) {
var id = $(“#jqxfilselgrid”).jqxGrid(‘getrowid’, test);
var commit = $(“#jqxfilselgrid”).jqxGrid(‘deleterow’, id);
}
},
{ text: ‘File Library’, datafield: ‘flib’},
{ text: ‘File Name’, width: 100, datafield: ‘fname’},
{ text: ‘File Text’, width: 150, datafield: ‘ftext’},
{ text: ‘File Type’, width: 150, datafield: ‘ftype’}
]
});
});