I know it\'s been asked before, but I cant get it to run and I\'m out of things to try.
I want to colorize a row in a Grid if its value is not 1 - I use a custom for
It seems to me that your main problem is you're not setting a 'background-color' style. You should remove 'ui-widget-content' class from the row (from before adding the class and only with setting of CSS element)
jQuery("#"+ options.rowId,jQuery('#list2')).removeClass('ui-widget-content');
state_activ or state_inactive, because jQuery UI class 'ui-widget-content' is define .ui-widget-content like{
border: 1px solid #fad42e;
background: #fbec88 url(images/ui-bg_flat_55_fbec88_40x100.png) 50% 50% repeat-x;
color: #363636;
}
'background-color' your not really change the background color. So try to use something likevar trElement = jQuery("#"+ options.rowId,jQuery('#list2'));
trElement.removeClass('ui-widget-content');
trElement.addClass('state_active');