|
|
|
|
|
- Overview of the Pager control
- Creating a Pager control
- Notes
- Send value of controls to the server
- Description of a Table control and a Looper control
- Active WEBDEV Pager
- Event handled by default
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. A pager is automatically associated with non-AJAX Table or Looper controls (based on a data file or populated programmatically) when the maximum number of rows per page is greater than the number 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: - On the "Creation" tab, in the "Navigation" group, click "Pager".
- Click where you want to create the control in the page. The control appears in the editor.
To view the characteristics of the control, select "Description" in the context menu. To associate the pager with an existing Table or Looper control: - Open the Pager control description window.
- Select the Table or Looper control in the "General" tab.
Send 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 per page: - Table field: "Detail" tab for Table field characteristics.
- RepeatString field: "General" tab for RepeatString field characteristics.
If the number of rows displayed in the page is greater than the maximum number specified, a pager is automatically associated with the Table or Looper control. The Pager control is displayed below the Table and/or Looper control. Note: This option is only available for non-Ajax table fields.. Table controls in "Server + AJAX" mode use a scrollbar. Active WEBDEV 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. WEBDEV supports the following event by default: | | Event | Runtime condition |
---|
Initialization (Server code) | Executed when the page is opened. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|