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 / Funcionalidades Automáticas de la Aplicación (FAA) / FAA en Tablasy Tablas TreeView
  • Overview
  • Programming
  • "Check/Uncheck" options
  • Filtering options
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
The Table and TreeView Table controls can propose Check Box columns allowing the user to select the requested options.
Depending on the number of control rows, it may be tedious for the user to check or uncheck all the rows.
The context menu of Check Box columns proposes several specific options that simplify the selections:
Context menu of Check Box column
  • Check all: Allows you to check all the switches in the table..
  • Uncheck all: Unchecks all switches on the table..
  • Filter ... Checked only: Displays only checked rows in the table..
  • Filter ... Unchecked only: Displays only unchecked rows in the table..
Note: These options are only available on Switch columns:
  • Table and TreeView Table controls populated programmatically.
  • Table and TreeView Table controls with-in memory data source.
Programming

"Check/Uncheck" options

  • To check or uncheck all the rows of the Table or TreeView Table control, use AAFExecute with the aafCheckAll and aafUncheckAll constants. In this case, the function is applied to the Check Box column.
  • To disable the options used to check and uncheck all the rows of the Table or TreeView Table control, use AAFDisable with the aafCheckAll and aafUncheckAll constants. In this case, the function is applied to the Table or Treeview Table control.
  • To change the text of the options used to check and uncheck all the rows of the Table or TreeView Table control, use AAFChangeCaption with the aafCheckAll and aafUncheckAll constants. In this case, the function is applied to the Table or Treeview Table control.

Filtering options

  • To disable the filtering options, use AAFDisable associated with the aafFilter constant on the Table or TreeView Table control. Warning: In this case, all filter options are disabled on the field and its columns..
  • To run the filter on the Check Box column found in the Table or TreeView Table control, use TableEnableFilter associated with the filterEqual constant. Example:
    // Filtre sur les colonnes décochées
    TableEnableFilter(COL_SansNom1, filterEqual, 0)
    // Filtre sur les colonnes cochées
    TableEnableFilter(COL_SansNom1, filterEqual, 1)
Versión mínima requerida
  • Versión 22
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