DataWindow Pagination – PB Docs 120


DataWindow Pagination

If the HTMLGen.PageSize
property of a DataWindow object is not set, the Web.config file
property PBDataWindowRowsPerPage limits the number of rows per page
for a Web DataWindow control to 20 rows by default.

Note: You set the HTMLGen.PageSize property in the DataWindow painter by selecting the Rows Per Page option on the Web Generation tab.

Because this
renders only the specified number of rows at a time, the PBDataWindowRowsPerPage
helps reduce the size of the HTML response and thereby enhances
performance. This property is global, since it applies to all DataWindows
in the application for which HTMLGen.PageSize is not set.

Note:

The PBDataWindowRowsPerPage setting has no effect on the number
of rows in a DataWindow object with the Label presentation style.
Composite and Crosstab presentation styles do not support pagination.

To disable pagination of Web Forms DataWindow objects, set
the PBDataWindowRowsPerPage property to -1. To disable pagination
for a specific DataWindow object, set its HTMLGen.PageSize property
to -1.


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