PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Differences between an AJAX Table control and a non-AJAX Table control
  • Differences regarding the use
  • Differences regarding the programming
  • Differences regarding the available types of columns
  • Notes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The Table controls can be 100% AJAX.
The different features available for Table controls in AJAX mode are as follows:
The columns can be resized.
You have the ability to perform searches in the control via the magnifier.
The columns can be sorted.
The background of the selection bar can correspond to an image.
A scrollbar automatically replaces the pager.
The Table control cells can be in edit.
The Table control rows are multi-selection.
The columns can be anchored.
The Table control can have a horizontal scrollbar.
Other features:
  • An hourglass is automatically displayed when a long process is performed.
  • Ability to automatically manage a "cache" (partial fetch) that only loads the data required by the display and by the browse.
Differences between an AJAX Table control and a non-AJAX Table control

Differences regarding the use

  • the row selection:
    • In AJAX mode: Ability to select one or more rows with the mouse.
    • In non-AJAX mode: To select a row, you must use a Radio Button column ("With radio button" option selected in the "Details" tab of the description window of the Table control) or a Text column with the "Link" option enabled ("Details" tab in the description window of the column). The multi-selection is not available.
  • input in the Table control:
    • In AJAX mode: You have the ability to enter values in the different cells found in the Table control.
    • In non-AJAX mode: No value can be entered in the cells found in the Table control.
  • the number of rows displayed:
    • In AJAX mode: The number of rows displayed corresponds to the maximum number of rows that can be displayed in the Table control.
    • In non-AJAX mode: The number of rows displayed corresponds to the number of rows specified in the description of the Table control or by programming (..NbLinesPerPage).
  • the viewing of the rows found in Table control:
    • In AJAX mode: The rows found in the Table control are displayed via a vertical scrollbar.
    • In non-AJAX mode: The rows found in the Table control are displayed via a pager.
  • the columns:
    • In AJAX mode: The columns can be sorted, resized and anchored. You have the ability to perform searches in the Table control via the magnifier.
    • In non-AJAX mode: The columns cannot be sorted, resized and anchored. No search can be performed in the Table control.

Differences regarding the programming

The server processes of an AJAX Table control are automatically run in AJAX mode.
In AJAX mode, the processed associated with Table control columns are as follows:
  • Initialization (server code).
  • End of initialization (server code).
  • Selecting a table row (server code).
  • Row display (server code).
  • Table click (browser code).
  • Exit from a row (server code).
  • Row selection (browser code).
In AJAX mode, the processed associated with a Table control are as follows:
  • Initialization (server code).
  • End of initialization (server code).
  • Selecting a table row (server code).
  • Row display (server code).
  • Table click (browser code).
  • Exit from a row (server code).
In AJAX mode, the processed associated with table control columns are as follows:
  • Initialization (server code).
  • Whenever performing a search with the magnifier (server code).
In non-AJAX mode, only the "Initialization (server code)" process is available.

Differences regarding the available types of columns

The types of data that can be displayed in a column of an AJAX Table are as follows:
  • Text
  • Currency
  • Time
  • Numeric
  • Date
  • List of values (combo box)
    PHP This type of data is not available.
  • Duration
  • Check box
  • Image
The types of data that can be displayed in a column of a non-AJAX Table control are as follows:
  • Text
  • Currency
  • Time
  • Numeric
  • Date
  • List of values (combo box)
    PHP This type of data is not available.
  • Duration

Notes

  • The scrollbars are not available in Mozilla Firefox version 1.7.8.
  • The Ajax Table controls and the AJax looper controls do not operate in Safari.
Related Examples:
The Ajax Table control Unit examples (WEBDEV): The Ajax Table control
[ + ] This example explains how to use the Ajax tables. This example allows you to:
- Access the content of a table element in browser code
- Clear the table
- Fill the table
- Select a row
- Sort the table
- Delete the selected row
The Ajax Table control in PHP Unit examples (WEBDEV): The Ajax Table control in PHP
[ + ] This example explains how to use the Ajax tables in PHP.
The following topics are explained:
- Access the content of a table element in browser code (using the AjaxExecuteAsynchronous function)
- Delete the table content
- Fill the table
- Select a row
- Delete a row
Minimum required version
  • Version 11
Comments
Click [Add] to post a comment