ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Table Column control
  • Overview
  • Attribute column: Store a value that will not be displayed
  • Creating a column of type Attribute to store a value
  • Manipulating the Attribute column programmatically
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 and WEBDEV allow you to use columns of type "Attribute" in Table controls. This type of column is used to:
  • store a value that will not be displayed in the Table control.
Attribute column: Store a value that will not be displayed

Creating a column of type Attribute to store a value

To create a column of type Attribute in a Table control:
  1. If necessary, create a Table control (based on a data file, populated programmatically or based on a variable).
  2. Create an Attribute column (via the description window or context menu of the Table control).
  3. If necessary, validate the control description window.
  4. The Attribute column does not appear in the Table control in the editor. The column is hidden by default and can only be manipulated programmatically.
Remarks:
  • The Attribute column must not be associated with a control.
  • Attribute columns are available for Table controls (based on a data file, populated programmatically or based on a variable) and TreeView Table controls,

Manipulating the Attribute column programmatically

Attribute columns can be manipulated programmatically like other column types. The column and its value will never be displayed in the control.
Attribute columns are taken into account when calling TableAdd, TableAddLine, TableInsert and TableInsertLine.
It can be manipulated directly, using the following syntax:
<Column_name>[Row_number]
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/01/2024

Send a report | Local help