<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Print a table with a column highlighted background in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Print-a-table-with-a-column-highlighted-background/m-p/514084#M138597</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; And a variation, if you want to be able to style the header cell separately from the data cells.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class;
columns name age sex weight height;
define name / display;
define age / style(header)={background=yellow font_style=italic}
             style(column)={background=lightblue};
define sex / display;
define weight/ format=8.1;
define height/ format=8.1;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Sat, 17 Nov 2018 01:11:26 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2018-11-17T01:11:26Z</dc:date>
    <item>
      <title>Print a table with a column highlighted background</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-a-table-with-a-column-highlighted-background/m-p/514072#M138594</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I want to print table&amp;nbsp;sashelp.class with column AGE highlighted with yellow background.&lt;/P&gt;
&lt;P&gt;Can anyone help me to do it?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;HHCFX&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 22:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-a-table-with-a-column-highlighted-background/m-p/514072#M138594</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2018-11-16T22:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Print a table with a column highlighted background</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-a-table-with-a-column-highlighted-background/m-p/514074#M138595</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class;
columns name age sex weight height;
define name / display;
define age / style=[background=yellow];
define sex / display;
define weight/ format=8.1;
define height/ format=8.1;
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;More complicated options are here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/forum2008/224-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/224-2008.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/49486"&gt;@hhchenfx&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I want to print table&amp;nbsp;sashelp.class with column AGE highlighted with yellow background.&lt;/P&gt;
&lt;P&gt;Can anyone help me to do it?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;HHCFX&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 22:50:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-a-table-with-a-column-highlighted-background/m-p/514074#M138595</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-16T22:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Print a table with a column highlighted background</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-a-table-with-a-column-highlighted-background/m-p/514084#M138597</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; And a variation, if you want to be able to style the header cell separately from the data cells.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class;
columns name age sex weight height;
define name / display;
define age / style(header)={background=yellow font_style=italic}
             style(column)={background=lightblue};
define sex / display;
define weight/ format=8.1;
define height/ format=8.1;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2018 01:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-a-table-with-a-column-highlighted-background/m-p/514084#M138597</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-11-17T01:11:26Z</dc:date>
    </item>
  </channel>
</rss>

