HTMLDW (obsolete)

Description

Specifies whether HTML generated for the DataWindow object provides updates and interactivity.

Obsolete property

HTMLDW 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.HTMLDW = value

Describe and Modify argument:

"DataWindow.HTMLDW { = ' value ' }"

Parameter

Description

value

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

Values are:

  • Yes -- DataWindow HTML generation uses the HTMLGen properties.

  • No -- DataWindow HTML generation is a read-only. table as described for the Data.HTMLTable property.


Usage

When HTMLDW is set to Yes, the generated HTML supports data entry and takes advantage of browser features that enable user interaction when used with a page server (as described for the Data.HTML property). The generated HTML can be used to produce a page that displays a subset of retrieved rows and can include JavaScript code requesting additional pages with other subsets of the retrieved rows.

The resulting HTML can be used as a Web DataWindow control, which is a cooperation between a server component, a page server, and a client Web browser. The server component produces the HTML and the page server incorporates it into a Web page.

The user interacts with the DataWindow in the client browser, and actions produced by buttons in the DataWindow object are sent back to the page server. The page server calls methods of the server component to request processing for the data in the DataWindow object, including applying actions, updating data, and scrolling to other subsets.

To affect the level of DataWindow features in the resulting HTML, or to produce master/detail links between two Web DataWindow controls, see HTMLGen.property.

DataWindow features that will not be rendered into HTML include:

  • Graph, OLE, and RichText presentation styles and controls.

  • Client-side expressions that include aggregate functions. Aggregate functions cannot be evaluated in the browser. Instead, they will be evaluated on the server and the resulting value included in the HTML.

  • Resizable and movable controls.

  • Sliding of controls to fill empty space.

  • Autosizing of height or width.

  • EditMasks for column data entry.

In the painter

Select the DataWindow object by deselecting all controls; then select or clear the Web DataWindow check box on the General tab in the Properties view.

Examples

dw1.Object.DataWindow.HTMLDW = "yes"
setting = dw1.Describe ("DataWindow.HTMLDW")
dw1.Modify("DataWindow.HTMLDW = 'yes'")