ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Table control
  • Overview
  • Available features
  • Input in a Table control
  • Programming the Table control
  • AAF of Table control
  • Sort
  • Search via the magnifier
  • Data filter: "Contains" type filter
  • Resizing columns
  • Limitations
  • Limitations for Android
  • Limitations for iOS
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
The Table control is available for Android and iOS applications. This control includes the features of the Table control of WINDEV.
The horizontal and vertical scroll is touch-controlled.
Available features
The Table control includes the following features for Android and iOS applications:
  • Filling:
  • Resizing columns via touch gestures.
  • Anchoring columns (very useful when the window switches from portrait to landscape).
  • Single selection or multiple selection.
  • Title-header of column.
  • Context menu.
  • Data input.
  • etc.
The following column types are available: Text, Numerical, Monetary, Date, Time, Label, Image, ProgressBar, Notation.
Note: The "Pull to Refresh" function is available in the Table field on Android and iOS.. For more details, see Pull to Refresh on Table and Looper controls (Android/iOS).

Input in a Table control

Input in mobile Table controls is automatically managed.
To perform an input in a cell found in the Table control:
  • Click the cell where the input will be performed.
  • An input area is opened at the top of the Table control. If the cell contains a text, this text is displayed.
  • Modify or add the requested text.
  • Validate.

Programming the Table control

The WLanguage functions of the Table family are supported in Android and iOS.
AAF of Table control
The following AAFs are available for mobile Table controls:AAFs are accessible via touch gestures.

Sort

Sortable columns are identified by the icon.
To sort a column, simply tap the column header. Several cases may occur:
  • The column type is Text, Numerical, ... a context menu appears.
    Click the sort icons to choose the sort direction.
  • The column type is Rating or Image, the sort is performed as soon as the finger touches the column.
In any case, once the column is sorted, an arrow indicates the sort direction in the column header.

Search via the magnifier

To perform a "Starts with" search in a Table control:
  • Tap the column header with the finger to open the context menu.
  • Select the magnifier:
  • In the input area that is displayed at the top of Table control, type the first letters of requested element.
  • The first element corresponding to the search is selected and displayed in the Table control.
Warning: Clicking on the cross in the input field cancels the search..

Data filter: "Contains" type filter

To filter the elements displayed in a Table control ("Contains" filter):
  • Tap the column header with the finger to open the context menu.
  • Select the funnel:
  • In the input area that is displayed at the top of Table control, type the requested filter.
  • Only the values of the Table control corresponding to the filter are displayed.
Warning: Clicking on the cross in the input field cancels the filter..
Note: Specific filters for Numerical columns
Specific filters can be created in the numeric columns:
  • Tap the header of the numeric column with the finger to open the context menu.
  • Select the filter to use:
    • equal.
    • different.
    • less than.
    • greater than.
  • In the input area that is displayed at the top of the Table control, type the comparison value.
  • Only the values of the Table control corresponding to the filter are displayed.

Resizing columns

To resize a column:
  • Tap the extremity of the column header with the finger to perform the resize operation.
  • Keep the finger pressed and resize the column.
  • Release the finger when the requested size is reached.
Limitations
Android

Limitations for Android

  • Data input is not available in Table controls based on a data file. TableAdd, TableAddLine, TableInsert, TableInsertLine, TableModify and TableModifyLine are not available on Table controls based on a data file.
  • Only the automatic iteration is available for Table controls based on a data file. The programmed iteration is not available.
  • Table controls with in-memory data source are not limited.
iPhone/iPad

Limitations for iOS

Minimum version required
  • Version 20
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help