On one of the columns of my jqGrid, I transfer digits from the backend, and then using the loadComplete event, and a lookup table, I convert those digits into the appropriate string representation, the problem is, that after the conversion is done, once the user places the mouse pointer above one of those converted cells, an annoying tooltip with the digit still appears.
How can I solve this?.
Screen-shot:
code:
loadComplete: function(){
$('td[aria-describedby="list2_relevancy"]').each(function(){
var rowId = $(this).siblings().filter('[aria-describedby="list2_id"]').html();
var statusId = $(this).html();
var innerHTML = typeof lookup[statusId] === 'undefined' ? get_phrase("New") : lookup[statusId];
$(this).html('<span style="cursor:pointer;font-weight:bold;text-decoration:underline;" onclick="showApproveList(' + rowId + ')">' + innerHTML + '</span>');
});
How can I solve this?.
Any assistance is much appreciated.