Hi, I need to give different background colors to different columns in a table by using proc template. Does anyone have experience on it? I tried to use below codes. But the program only changed the backgrounds of the body of the table. The background color of the headers is still the same. proc template; /*--------------------------*/ /* Table definition /*--------------------------*/ define table mytable; column a b c ; center=on; /*-------------------------------------*/ /* Set up the headers of each variable /*-------------------------------------*/ define a ; header='AAA' style=[background=red] just=center; end; define a ; header='BBB' style=[background=blue] just=center; end; define a ; header='CCC' style=[background=yellow] just=center; end; run;
... View more