AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Paginación
  • 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
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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:
  1. On the "Creación" tab, in the "Navegación" group, click "Paginación".
  2. 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:
  1. Open the Pager control description window.
  2. Select the Table or Looper control in the "General" tab.
Notes

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.
Event handled by default
WEBDEV supports the following event by default:
EventRuntime condition
Initialization (Server code)Executed when the page is opened.
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local