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.

Leave a comment