HTMLTable.property DataWindow object 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.
Controls
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.HTMLTable.<span>property</span> |
Describe and Modify argument:
|
1 |
"<span></span>DataWindow.HTMLTable.<span>property</span> { = '<span> value </span>' }" |
|
Parameter |
Description |
|---|---|
|
property |
A property for a DataWindow to be displayed |
|
value |
The value to be assigned to the property. Value can |
|
Property for HTMLTable |
Value |
|---|---|
|
Border |
(exp) Border attribute |
|
CellPadding |
(exp) CellPadding |
|
CellSpacing |
(exp) CellSpacing |
|
GenerateCSS |
(exp) Controls whether |
|
NoWrap |
(exp) NoWrap attribute |
|
StyleSheet |
(exp) HTML cascading |
|
Width |
Width attribute for the HTMLTable element. |
Usage
In the painter
Set the value using the Properties view, HTML Table tab.
Examples
|
1 |
dw1.Object.DataWindow.HTMLTable.Border = "2" |
|
1 |
setting = dw1.Describe<br> ("DataWindow.HTMLTable.StyleSheet") |
|
1 |
dw1.Modify("DataWindow.HTMLTable.NoWrap = 'yes'") |