ProApp Designer - Release 14.10 (Package 27)

OnBeforeLoad Event

The OnBeforeLoad event is triggered before data is loaded into collection controls on a page. This event is supported only on table, worksheet, treeTable controls. OnBeforeLoad event can be used to set filterExpression on the collection control to load only required dataset.

//Setting filterExpression on Table control
// creating an expression string

let expressionString =
“classification EqualTo Item AND name StartsWith AS_";

// Refer to section filterCollectionItems on how to build your expression string
// calling filter API for table control

appStudioWizard.filterCollectionItems(controlName, expressionString);