On Drill Down
Last updated 9/04/2026
Overview
The On Drill Down event is a client-side event that executes when a user clicks the Down button on a parent menu. This allows the application to run logic before navigating to the next level of the menu.
How it Works
When a user clickes the Down button:
- The On Drill Down event executes immediately on the client-side.
- Any logic associated with the event executes before the sub-menu is displayed.
- You can allow the drill down to proceed or stop it based on conditions.
Use Cases
- Control access to certain menu levels based on conditions
- Prevent navigation if required criteria are not met
- Trigger UI changes before opening a sub-menu
- Run client-side checks before allowing deeper navigation
Example
This function executes when the Down button is clicked and shows a message in the UI.
Show message on drill down
function InvestmentAnalysis(five, context, result) {
five.showMessage('View your current holding and investment!');
return five.success(result);
}