ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Automatic Application Features (AAF) / AAF on Tables/TreeView Tables
  • Overview
  • Programming
  • "Check/Uncheck" options
  • Filtering options
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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 popup menu of Check Box columns proposes several specific options that simplify the selections:
Context menu of Check Box column
  • Check all: Used to check all the check boxes found in the table.
  • Uncheck all: Used to uncheck all the check boxes found in the table.
  • Filter .. Checked only: Used to only display the checked rows in the table.
  • Filter .. Not checked only: Used to only display the unchecked rows in the table.
Remark: These options are available for Check Box columns in:
  • 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. Caution: In this case, the filtering options are disabled for the control 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:
    // Filter on the unchecked columns
    TableEnableFilter(COL_NoName1, filterEqual, 0)
    // Filter on the checked columns
    TableEnableFilter(COL_NoName1, filterEqual, 1)
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment

Last update: 06/15/2022

Send a report | Local help