ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The StoreSortAAF property is used to determine and specify if the sorting defined by the user on a Table or TreeView Table control is kept when an application is closed and opened again.
This order is defined via the sort buttons in the table columns.
If the sorting order is kept, it will be automatically re-applied next time the window that contains the table is opened,.
Remark: This property is equivalent to the "Remember user sorts" option, in the "Details" tab of the Table control description window.
Example
// Modify CBOX_StoreSort
IF CBOX_StoreSort = True THEN
TABLE_PRICE.StoreSortAAF = True
ELSE
TABLE_PRICE.StoreSortAAF = False
END
Syntax

Finding out whether the sort options are stored Hide the details

<Result> = <Table used>.StoreSortAAF
<Result>: Boolean
  • True if the sort options defined by the user on the Table control are stored.
  • False otherwise (default value).
<Table used>: Control name
Name of the Table or TreeView Table control to be used.

Modifying the management of the sort options Hide the details

<Table used>.StoreSortAAF = <Storage>
<Table used>: Control name
Name of the Table or TreeView Table control to be used.
<Storage>: Boolean
  • True to remember the sort options defined by the user on the Table control between 2 launches of the application.
  • False otherwise.
Remarks
The sort information is saved with the other persistent information (for more details, see the help about SaveParameter).
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help