Changing PROC REPORT Table Cell Style Attributes

In addition to being able to control style attributes for PROC REPORT column headings, you can also control style attributes for the cells under a particular heading. This example shows how to change the background color for the table cells with the dollar amounts, which are for the column PRICE.

You do this by adding a STYLE= option to the DEFINE PRICE statement. The STYLE= option can be added anywhere after the slash (/). The following code changes the white background color of the Sasweb default to a shade of gray (cxDDDDDD).

The STYLE(Header)= option in the last example applied the new style attribute to the table headers. In this example, you use the STYLE(Column)= option to apply the new ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.