Official Content

Forces a refresh on the entire form.

Syntax

Refresh [keep]

Scope

Objects:Transaction, PanelWork With for Smart Devices

Description

The Refresh command forces a refresh of the entire Panel. This means that the following events will be executed:

By default, the refresh command will go to the top of the Grid after refreshing. However, if you want to keep the scroll where it is, you can do so by adding 'keep' to the refresh command.

If the Refresh command is executed on a client event of a Work With for SD Detail section, the system events (Refresh-Load) for the Detail node be executed as well as the sections that were previously activated, with the exception of those Inline, which will be activated any time.

Schematically, that is:

Refresh (Detail)
Load (Detail, if there is any non-SDT-based grid)
    Refresh (Section 1, if it was previously activated or is Inline)
    Load (Section 1, if it was previously activated -or is Inline- and there is any non-SDT-based grid)
    …
    Refresh (Section n, if it was previously activated or is Inline)
    Load (Section n, if it was previously activated -or is Inline- and there is any non-SDT-based grid)

Each section is activated in an indeterminate (and possibly concurrent) order.

Samples

Event 'TapButton'
    &var = 4;
    Refresh keep
EndEvent

Availability

Refresh keep command is available since GeneXus X Evolution 3 for Android.

See Also


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant