Platform SDK: CDO 1.2.1

HeadingRowPrefix Property (ContainerRenderer Object)

The HeadingRowPrefix property returns or sets the HTML string to insert at the beginning of a view’s heading row. Read/write.

Syntax

objContRend.HeadingRowPrefix

Data Type

String

Remarks

The heading row is a single-row table of heading cells each of which serves as a heading for a column in the view. The HeadingRowPrefix property can be used to set rendering for certain attributes for the entire heading row. For example, it could contain

  <TR BGCOLOR=“FF0000”> 
 

to render all the heading cells on a background of red. HeadingRowPrefix cannot, however, be used for a global setting of the heading row's <FONT> attributes.

The default setting of the HeadingRowPrefix property is

  <TR BGCOLOR=CCCC99 VALIGN="TOP"> 
 

If HeadingRowPrefix is changed, it should always contain the <TR> tag.

You can render the heading row each time you output a frame containing table rows, or you can choose to render it only in the first frame.