i
This is not the latest version of this document; to access the latest version, click here.
Official Content

The Refresh command behaves as explained below, depending on the Interface used (web or Smart Devices). Basically, it forces a refresh of the entire form. 

Syntax

Refresh

Description

The Refresh command forces a refresh of the entire page. In Web Panels, it means the following events will be executed:

Executing the Refresh command is the same as executing the page with HTTP method.

Remember that in Smart Devices X evolution 2 only one grid per layout is accepted (not considering grids associated with SDTs, which are unlimited). To accomplish this, the entire code of the Refresh and Load events will be executed (not the Start event, which is executed only once, the first time the object is opened). So, the following events will be executed:

  • Refresh event (corresponding to the fixed part of the form)
  • Load event (if there is any non SDT-based grid in the layout)

What if the Refresh command is executed on a client event of a Work With for SD Detail section? Will system events (Refresh-Load) for the Detail node be executed? And the sections that were previously activated (except for 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.

Scope

See also

Refresh Grid event for Web panels
Refresh method for Grid controls
Refresh Web Component command
Server-side Events in Native Mobile Applications
Event Triggering Order in Panels


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