I am using paramquery to generate grid table, I have added two button inside grid using below code. In this code its using jQuery ui icon now I want to change the icon with font-awesome. Is there any way to get that done ? Thank you in advance for help.
var toolb = $('#grid_generic2').pqGrid("option","toolbar");
toolb.items.push({
type: 'button',
attr: 'id="addline"',
label: 'Add',
icon: 'ui-icon-plus',
listeners: [{
click: function(){
getPrwNewCase();
}
}]
});
$('#grid_generic2').pqGrid("option","toolbar",toolb);
var toolb = $('#grid_generic2').pqGrid("option","toolbar");
toolb.items.push({
type: 'button',
attr: 'id="removeline"',
label: 'Delete',
icon: 'ui-icon-minus',
listeners: [{
click: function(){
delRow();
}
}]
});
$('#grid_generic2').pqGrid("option","toolbar",toolb);