Column Header in Proc Report

Reply
Contributor
Posts: 43

Column Header in Proc Report

Hi All,

Is there anyway in proc report to center the Column Headers but not the values under the columns.

Thanks

Respected Advisor
Posts: 3,777

Re: Column Header in Proc Report

proc report nowd list data=sashelp.class
     
style(header) = {background=gray just=center}        
     
style(column) = {cellwidth=2in just=left}                         
      ;
   define _all_ / display;
  
run;
You can also vary the style for a specific column by specifying the style on the DEFINE statement.
Ask a Question
Discussion stats
  • 1 reply
  • 186 views
  • 0 likes
  • 2 in conversation