HTMLTable.property (obsolete)

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.

Obsolete property

HTMLTable.property is obsolete and should not be used, because the Web DataWindow technology is obsolete.

Applies to

DataWindow objects

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.HTMLTable.property

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

dw1.Object.DataWindow.HTMLTable.Border = "2"
setting = dw1.Describe ("DataWindow.HTMLTable.StyleSheet")
dw1.Modify("DataWindow.HTMLTable.NoWrap = 'yes'")