Hi Abu,
Formatting of columns and rows works perfectly unless there is a # sign in the data.
eg 126 Franklin St. #55
If the # is in the main grid no formatting happens for any column. If it is in the detail grid then just the field with the # in it does not format.
Thanks
$agrid_options["loadComplete"] = "function addr_load()
{
var grid = $('#list_addr');
var rowids = grid.getDataIDs();
for (var i = 0; i < rowids.length; i++)
{
var rowid = rowids[i];
var data = grid.getRowData(rowid);
if((data.city == data.m_city) && (data.city != '')){
jQuery('#list_addr tr.jqgrow:eq('+i+')').css('background-image','inherit');
jQuery('#list_addr tr.jqgrow:eq('+i+') td[aria-describedby=list_addr_city]').css('background','inherit').css({'background-color':'silver', 'color':'black'});
}
if((data.street == data.m_street) && (data.street != '')){
jQuery('#list_addr tr.jqgrow:eq('+i+')').css('background-image','inherit');
jQuery('#list_addr tr.jqgrow:eq('+i+') td[aria-describedby=list_addr_street]').css('background','inherit').css({'background-color':'silver', 'color':'black'}); //red
}