ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Table control
  • Overview
  • AAFs available in the context menu of Table and TreeView Table controls
  • Configuring the automatic context menu of Table and Treeview Table controls
  • Configuring the automatic menu in a Table/Treeview Table control
  • Configuring the "Select columns..." option
  • Configuring some options through programming: Functions for managing automatic features
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
WINDEV applications automatically include a context menu for Table controls, TreeView Table controls and their columns.
This context menu, available without programming, presents several useful features: these features are part of Automatic Application Features (AAF).
AAFs available in the context menu of Table and TreeView Table controls
The system context menu (also called "AAF Menu") associated by default with the Table and TreeView Table controls includes the following options:
This menu allows the user to easily perform different processes not necessarily planned in the application
Remarks:
  • The Table and TreeView Table controls propose several other AAFs.
  • You have the ability to add choices to this menu:
    • from the editor (see below).
    • programmatically. To do so, use the ContextMenu property.
Configuring the automatic context menu of Table and Treeview Table controls

Configuring the automatic menu in a Table/Treeview Table control

The context menu of the control can be disabled. To configure the display of the context menu:
  1. Open the control description window.
  2. Select the "UI" tab.
  3. Choose the desired menu in the "Context menu" combo box:
You can choose to display:
  • the system menu (AAF menu). The options can be configured with the "Parameters" option. This menu can be displayed or not.
  • a custom context menu. This menu can be displayed on its own or in addition to the system menu. In this case, you can specify whether this menu must be displayed before or after the system menu. For more details, see Managing context menus.
  • no menu.
Remark: The same configuration can be performed for the columns of the Table control. By default, the context menu of the Table control is associated with all the columns.

Configuring the "Select columns..." option

In some case, you may not want to give the user the ability to hide the columns. To do so, the "Select columns..." option can be enabled or disabled:
  1. Open the control description window.
  2. Select the "Details" tab.
  3. Check or uncheck "'Select columns...' menu".
WINDEV

Configuring some options through programming: Functions for managing automatic features

Several WLanguage functions are used to manage the display of some options in the system context menu of the Table or TreeView Table control:
AAFDisableDisables an Automatic Application Feature (AAF) on a control, window or on the current application.
AAFExecuteRuns an Automatic Application Feature (AAF) on a control or window. This function can be used to start the spelling checker on an edit control for example.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 03/21/2023

Send a report | Local help