HTMLTable.property

Description

Settings for the display of DataWindow data when displayed in HTML table format. These settings simplify the transfer of data from a database to an HTML page. They are particularly useful when used to create HTML pages dynamically.

Applies to

DataWindow objects

Syntax

Describe and Modify argument:

"DataWindow.HTMLTable.property { = ' value ' }"

Parameter

Description

property

A property for a DataWindow to be displayed in HTML table format. Properties and their values are listed in the table below.

value

The value to be assigned to the property. Value can be a quoted DataWindow expression.

Property for HTMLTable

Value

Border

(exp) Border attribute for the HTMLTable element. The default is 1 (line around the table).

CellPadding

(exp) CellPadding attribute for the HTMLTable element. The default is 0.

CellSpacing

(exp) CellSpacing attribute for the HTMLTable element. The default is 0.

GenerateCSS

(exp) Controls whether the DataWindow HTMLTable property’s Table element contains border, cellpadding, cellspacing, nowrap, and width attributes. Also controls whether elements within the table contain CLASS references that control style sheet use. The default is no.

NoWrap

(exp) NoWrap attribute for the HTMLTable element. The default is to include this attribute.

StyleSheet

(exp) HTML cascading style sheet generated for the DataWindow.

Width

Width attribute for the HTMLTable element. The default is 0.

Usage


In the painter

Set the value using the Properties view, HTML Table tab.

Examples

Example 1

setting = dw1.Describe
		("DataWindow.HTMLTable.StyleSheet")

Example 2

dw1.Modify("DataWindow.HTMLTable.NoWrap = 'yes'")