Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SetPageSize (obsolete) – PB Docs 2021 – PowerBuilder Library

SetPageSize (obsolete) – PB Docs 2021

SetPageSize (obsolete)

Description

Specifies the number of rows to include in a generated Web page for
the Web DataWindow.

Obsolete method

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

Applies to

DataWindow type

Method applies to

Web

Server component

Syntax

Web DataWindow server
component

Argument

Description

dwcomponent

A reference to a Web DataWindow server
component.

pagesize

The number of rows of data to include in a generated
Web page. If the Web page does not include all available rows, you
can include Button controls in the DataWindow object for
navigating other subsets of rows. To include all available rows in
the page, specify 0 for PageSize.

Sets the value of
the HTMLGen.PageSize property for the DataWindow object associated
with the server component.

Return value

Returns an empty string if successful and the syntax error message
from the Modify method if it fails.

Usage

This method calls the Modify method of the server component’s
DataStore to set the property. It is particularly useful for the XML Web
DataWindow where you typically want to limit the number of rows per
page.

Examples

This example specifies that the HTML generated by the webDW
component will have 20 rows of data:

See also

Generate

Modify

HTMLGen.property


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x