Skip to content
Salzlechner
All notes

Development

WebApp Custom Controls – Pager

Apr 22, 2018 · DataFlex, DataFlex WebApp

This control has its origin in the need for a pager in our grid and list classes but of course it can also be used as a standalone control.

It is created as a standalone Javascript control with a Javascript wrapper for DataFlex WebApp so it can be used with DataFlex WebApp as well as with any other Javascript framework.

Styling

It can be fully styled using CSS Styles.

Here is a simple screenshot of the sample program showing different styles

pager

The pager can be configured using the following code

// 
// configure the pager with page count, current page and start page 

Send RebuildPager iPageCount iCurrentPage iStartPage

the control also has methods such as GotoFirstPage, GotoLastPage, GotoNextPage, GotoPrevPage and GotoPage.

in addition the control has events such as OnPageChange.

this control as well as many more are available from StarZen Technologies, Inc.

specifically for DataFlex developers