SortReset (Magic xpa 4.x)
Resets the sort criteria, so that the next time the view will be refreshed, only the sort defined in the task will be used.
|
Syntax:
|
SortReset (generation)
|
Parameters:
|
generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.
|
Returns:
|
|
Note:
|
-
When this function is used to reset the sort criteria, then whenever the view is refreshed, the sort will be done only according to the task logic sort.
-
The function will reset the user sorts of the Online Ctrl+T user sorts and also sorts added by the SortAdd function.
|
See also:
|
SortAdd
The Online and Rich Client Samples projects (program DV15 and RDV15)
|
Since version: 1.9
Local data source support – Since version: 2.5