I have a table built using jqGrid. If one cell is empty (gridtable1_Age), I want the text in another cell (gridtable1_Name) to be bold. I'm trying to use the loadComplete but it does not seem to be working or if I am using it in the right place.
jQuery("#grid1").jqGrid('setGridParam', opts).trigger("reloadGrid", [ {
page : 1,
loadComplete : function () {
$('td[aria-describedby=grid1_Age]:empty',
'#gridtable1').parent().find('td[aria-
describedby=grid1_Name]').css('font-weight', 'bold');
}
} ]);
Edit: My grid is built with Struts2 tags