jochen-z
12/29/2017 - 11:25 AM

Color IR Cells

APEX 5.0

case when Freigabe = 1 then 'green'  when Freigabe = 0 then 'red' else 'yellow' end as freigabe_color, 

-- DA after refresh region (execute javascript)
apex.jQuery("span[data-style]").each(
  function() { 
    apex.jQuery(this).parent().attr('style', apex.jQuery(this).attr('data-style')); 
  }
);

APEX HTML Expression:
<span data-style="background-color:#FREIGABE_COLOR#"> #SIGN_OFF# </span>