A string containing HTML and JavaScript that represents data and presentation of the DataWindow object.
The data is presented in a read-only HTML table or data-entry form, depending on settings of other properties.
DataWindows
Describe argument:
"DataWindow.Data.HTML"
When HTMLDW is set to False, the value of Data.HTML is the same as the value of HTMLTable—a read-only HTML table that displays all retrieved rows.
When the HTMLDW property is set to True, the value of Data.HTML is a form that supports data input with client scripts for data validation and events. The generated string for Data.HTML includes:
HTML input elements
JavaScript for validating newly entered data based on validation rules in the DataWindow object
HTML and JavaScript for navigation based on DataWindow Button controls with scrolling actions
State information about the modification status of data items
JavaScript for navigation passes the state of the DataWindow back to the page server in two variables: objectname_action and objectname_context. It also passes back any page parameters defined in the HTMLGen.SelfLinkArgs property. All the HTMLGen.property values affect the way HTML is generated.
The resulting Web DataWindow is a client-side control for a Web page with events and methods that can cooperate with a server component for a Web-based data entry application. For more information about the Web DataWindow, see the Programmers Guide.
If the DataWindow is in print preview mode, or there are no columns with non-zero tab order, the setting of HTMLDW is ignored and the generated HTML is a read-only table, not a data-entry form.
strHtml = dw1.Describe("DataWindow.Data.HTML")