PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview of the Pager control
  • Creating a Pager control
  • Notes
  • Sending the value of controls to the server
  • Description of a Table control and a Looper control
  • AWP pager
  • Process managed by default
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview of the Pager control
The Pager control is used to quickly access the records of a Table or Looper control displayed on several pages. The Web user clicks the page number to display the corresponding records.
When creating a non-Ajax Table or Looper control (browsing or memory), a pager is automatically associated with the control as soon as the maximum number of rows(or repetitions) per page is greater than the number of rows in the control.
You can also create a Pager control and associate it with a Table or Looper control afterwards.

Creating a Pager control

To create a Pager control:
  1. In the page editor, click (or select "Insert .. Control .. Pager").On the "Creation" pane, in the "Navigation" group, click "Pager".
  2. Click the position where the control will be created in the page. The control appears in creation mode.
To display the control characteristics, select "Description" from the popup menu of control.
To associate the pager with an existing Table or Looper control:
  1. Display the description window of the Pager control.
  2. Select the Table or Looper control in the "General" tab.
Notes

Sending the value of controls to the server

The option "Send the value of controls to the server" ("General" tab of the description window) is used to perform the following operations when using a Pager control:
  • validate the controls of the current page.
  • return the value of these controls to the server.
Then, the server performs the specified action.

Description of a Table control and a Looper control

When describing a Table or Looper control, you have the ability to specify the maximum number of rows (or repetitions) per page:
  • Table control: "Details" tab in the characteristics of Table control.
  • Looper control: "General" tab in the characteristics of Looper control.
If the number of rows (or repetitions) displayed in the page is greater than the maximum number allowed, a pager is automatically associated with the Table or Looper control.
Note: This option is available for non-Ajax Table controls only. The AJAX Table controls are using a scrollbar.
Versions 16 and later

AWP pager

The pager in AWP mode automatically manages the method for passing parameters, without programming.
This type of pager allows you to reference all the linked pages and it avoids having to use cookies to store the current search.
New in version 16

AWP pager

The pager in AWP mode automatically manages the method for passing parameters, without programming.
This type of pager allows you to reference all the linked pages and it avoids having to use cookies to store the current search.

AWP pager

The pager in AWP mode automatically manages the method for passing parameters, without programming.
This type of pager allows you to reference all the linked pages and it avoids having to use cookies to store the current search.
Process managed by default
WEBDEV manages the following process by default:
ProcessRuntime condition
Initialization (Server code)Run when opening the page.
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment