How To – O4W Pagination


How to create an O4W dialog box using local pagination
If you are building a dialog box or using an existing popup in O4W with a high record count, you may want to consider building each page of the dialog box locally.  This will save on the time it takes the browser to build the dialog box because it will only need to build one page at a time.  The way it works is, you set the default paginator on the O4W Configuration screen to one of the local paginator choices or alternatively, you set the ‘overridePage’ parameter in the O4WTablePagerOptions API to ‘O4WI_TABLEPAGERLOCAL’.  Setting this flag will send an event to your O4W program when the next/previous arrows are clicked as well as any time a column is clicked that is set for sorting.

This post originally appeared in Revelation Software’s monthly newsletter dated 16/06/15.  Click here for the rest of this article.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s