This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.
On the flight alert inbox page of your module, you use the Workshop Events framework to trigger your drawer when a user clicks a row in the object table. Here, you’ll learn to control events using a Button Group widget.
🔨 Task Instructions
Click into your Map section header and then on the right-most ➕ button.
Add a Button group widget. When its configuration panel opens, change its name in the Metadata tab to Button group: Airport Details. Then, return to the Widget setup tab.
In the Button Configuration section, select Button 1. In that item, apply the following settings:
Text: Selected Airport Details
Intent: Success
Left Icon: List detail view
Description: Open the object view for the selected airport
⊕ Add event: Open Overlay: Airport Object View
Test your button by clicking on an airport point on your map and then on your new button.