The Rebuild State action triggers a rebuild or refresh of a specific state context within the app. This can be used to force the UI to update based on changes in state or to reinitialize parts of the app dynamically.
📦 Properties
Property
Type
Required
Description
State
Dropdown
Yes
Name of the state context to rebuild
✅ Common Use Cases
Refreshing UI after external data updates
Forcing re-render of components with dynamic content
Updating displays after background operations complete
Synchronizing UI state with external events
Manual refresh triggers for complex state dependencies
⚙️ Default Behavior
By default:
Behavior
Description
Scope
Rebuilds current page/component if no name specified
Propagation
Triggers listeners on the specified state context
UI Update
Forces dependent widgets to re-render
Performance
Only rebuilds specified context, not entire app
🛠️ How to Use
Call External Method action configuration in Digia Studio
Add the action to a widget event (e.g., onClick, onChanged)
Choose Rebuild State from the action list
Specify stateContextName to target a specific state context