ProApp Designer - Release 14 (Package 22)

OnLoad Event

The OnLoad event is triggered after the data has been loaded for either the Wizard page or individual collection controls. This allows you to execute custom logic once the data is available, enabling dynamic behavior or additional initialization based on the loaded content.

//Setting list options on a column of the Table control:
const itemId = appStudioWizard.getItemId();

// calling a server method & passing the itemId to get the required options. Refer to 2.7 Examples on how to call server method.

// building options map

let options = {
optionValue: “OptionLabel”,
optionValue2: “OptionLabel2"
};
appStudioWizard.setCollectionListOptions(“table_name”, “column_name”, options);