編輯

共用方式為


Form Loaded event

This event occurs after the form load completes. App logic that isn't immediately needed during the form load process should be run after load completes. For example, moving extra APIs calls after form load completes can significantly improve the loading experience and reduce time to first use.

Use the formContext.ui.addLoaded and formContext.ui.removeLoaded methods to manage event handlers for this event.

Events (Client API reference)
Events in forms and grids in model-driven apps