BookmarkSubscribeRSS Feed
Daily1
Quartz | Level 8

I have a custom proc template for the table frame to be border lines, but it did not work properly. I want the table to have border lines.

 

proc template; 
 define style styles.mystyle1; 
 parent = Styles.Default; 
    style body /
/*        background = white*/
        foreground = black
    ;
    style systemtitle /
        font_face = 'DVOT-SurekhMR'		
        font_weight = bold
        background = white
        font_size = 12pt
    ;	
	style systemfooter /
        font_face = 'DVOT-SurekhMR'
        font_size = 8pt		
    ;
   style data /
        fontfamily = 'DVOT-SurekhMR'
        font_size = 10pt
        foreground = black
/*		borderwidth = 1px		*/
/*        bordercolor = black*/
JUST=CENTER
   VJUST=C

    ;
    style header /
        fontfamily  = 'DVOT-SurekhMR'
        font_size = 10pt
        foreground = Black
	    font_weight = bold 
/*        background = #A9D0F5 */
/*      background = white*/
    ;

	style summary /
        fontfamily  = 'DVOT-SurekhMR'
        font_size = 10pt
        foreground = Black
		font_weight = bold 
/*        background = #A9D0F5 */
      background = white 
    ;

    style table /
        cellpadding = 5px
        cellspacing = 0px
        borderwidth = 1px		
        bordercolor = black
        borderstyle = solid
font_weight = bold 
    ;

end; 
run;

Output

Daily1_0-1715755492944.png

i want 

Daily1_1-1715755684710.png

 

1 REPLY 1
Ksharp
Super User
Try Change
parent = Styles.Default;
into
parent = Styles.analysis;

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 582 views
  • 0 likes
  • 2 in conversation