TablePrefix Property (ContainerRenderer Object)

The TablePrefix property returns or sets the HTML string to insert at the beginning of the rendering of a folder or address book container table. Read/write.

Syntax

objContRend.TablePrefix

Data Type

String

Remarks

The HTML output of the Render and RenderHeading methods is treated as two separate tables, one for the header row and one for the item rows. The TablePrefix and TableSuffix property strings are inserted around each of these tables.

You can set the width of the table to be a percentage of the available horizontal space, or you can use the %tablewidth% substitution token for a fixed value representing the sum of the widths of all the columns. The substitution tokens are described in the RenderUsing property of the Pattern object.

The default setting of the TablePrefix property is

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=1 WIDTH=%tablewidth%> 

for a table view and

<TABLE COLUMNS=%columns% BORDER=0 CELLPADDING=0 CELLSPACING=1 WIDTH=100% HEIGHT=100%> 

for a calendar view.

If TablePrefix is changed, it should normally contain the <TABLE> tag.